flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Vasilev Vjacheslav 22 Jan 2005, 09:50
i have no idea, but try to use CreateFile instead of OpenFile, and CloseHandle instead of CancelIO
|
|||
![]() |
|
mike.dld 22 Jan 2005, 10:51
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 22 Jan 2005, 12:52
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.