flat assembler
Message board for the users of flat assembler.
Index
> Windows > windows wants to send a bug report |
Author |
|
Tomasz Grysztar 23 Apr 2004, 21:20
The second parameter to GetUserName should be a pointer to size, not size itself, try this:
Code: include "%fasminc%/win32ax.inc" SIZE = 1024 .code start: invoke GetUserName,user_log,size invoke MessageBox,0,user_log,"user name is:",0 invoke ExitProcess,0 .end start .data size dd SIZE user_log rb SIZE |
|||
23 Apr 2004, 21:20 |
|
HarryTuttle 26 Apr 2004, 06:59
exactly, You are right Privalov. THX
_________________ Microsoft: brings power of yesterday to computers of today. |
|||
26 Apr 2004, 06:59 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.