flat assembler
Message board for the users of flat assembler.
Index
> Windows > why this doent work? |
Author |
|
aaro 27 Mar 2004, 03:07
Code: .data _file db 'Test.fle',0 _filewrite db 'abcd',0 _written dd ? .code invoke CreateFile, _file, GENERIC_WRITE, FILE_SHARE_READ + FILE_SHARE_WRITE, 0, CREATE_NEW, 0, 0 push eax invoke WriteFile, eax, _filewrite, 5, _written, 0 call [CloseHandle] |
|||
27 Mar 2004, 03:07 |
|
roticv 27 Mar 2004, 07:31
edx is modified by the function WriteFile
|
|||
27 Mar 2004, 07:31 |
|
aaro 27 Mar 2004, 11:42
yes and
Quote:
Sorry i didn't explain what was wrong with the code in the first message but i was bit drunk when writing that so.. |
|||
27 Mar 2004, 11:42 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.