Jump to content
Sign in to follow this  
turbox

error opening a file

Recommended Posts

turbox

i have this code

if ProcessExists("uTorrent.exe") Then
ProcessClose("uTorrent.exe")
Else
EndIf
$fo = fileopen(@AppDataDir & "\utorrent\settings.txt", 32)
if $fo = -1 Then exit
$fr = FileRead($fo)
ClipPut($fr)

but i get the half file characters

when i seve the file as unicode it read it well

what i can do to avoid the unicode convertion (it can't be automatic)?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×