flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Vasilev Vjacheslav
i have no idea, but try to use CreateFile instead of OpenFile, and CloseHandle instead of CancelIO
|
|||
![]() |
|
mike.dld
Humm.... FilePE? What are you trying to do, read from some executable? In this case look inside it with some hex editor to see NULL bytes. MessageBox shows you text from buffer beginning till first NULL.
|
|||
![]() |
|
JohnFound
OpenFile API needs 3 arguments:
Code: HFILE OpenFile( LPCSTR lpFileName, // pointer to filename LPOFSTRUCT lpReOpenBuff, // pointer to buffer for file information UINT uStyle // action and attributes ); In your use, only the filename is OK. It is strange, that it read something at all. ![]() Regards |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.