GodlessSinner Posted August 13, 2008 Share Posted August 13, 2008 Help me to read a data from a file using " _WinAPI_ReadFile" (_WinAPI_ReadFile($hFile, $pBuffer, $iToRead, ByRef $iRead[, $pOverlapped = 0])) For example I want to read data from C:\1.jpg. How can I do it? _____________________________________________________________________________ Link to comment Share on other sites More sharing options...
Szhlopp Posted August 13, 2008 Share Posted August 13, 2008 Help me to read a data from a file using " _WinAPI_ReadFile" (_WinAPI_ReadFile($hFile, $pBuffer, $iToRead, ByRef $iRead[, $pOverlapped = 0])) For example I want to read data from C:\1.jpg. How can I do it? DataFiler GL RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
weaponx Posted August 13, 2008 Share Posted August 13, 2008 Whats wrong with FileRead? Link to comment Share on other sites More sharing options...
Zedna Posted August 13, 2008 Share Posted August 13, 2008 Look herehttp://www.autoitscript.com/forum/index.php?showtopic=76829at example for _WinAPI_ReadFile() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Zedna Posted August 13, 2008 Share Posted August 13, 2008 Also look at my resources UDFhttp://www.autoitscript.com/forum/index.php?showtopic=51103 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
GodlessSinner Posted August 13, 2008 Author Share Posted August 13, 2008 I want to write archiver. But somewhen, one my friend(programmer) tell me that using WinAPI he cannot to read a file without errors. Error was occured reading some not often used bytes. Thats why i decided to check it. _____________________________________________________________________________ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now