flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 31 Jan 2006, 10:28
get OllyDbg (OllyDebug), and trace into procedure... debugging skill is as important as coding skill.
|
|||
![]() |
|
chris 31 Jan 2006, 10:33
you can not expect that GetSystemDirectory preserve edx.
and the rule of fasm is that symbols outside square brackets are labels(addresses). so you may try: Code: proc gwd locals szdir rd 100h endl lea edx,[szdir] stdcall [GetSystemDirectory],edx,100h lea edx,[szdir] invoke MessageBox,0,edx,edx,0 ; ret endp And actually there is a macro 'addr' in win32ax.inc that you could use in this case. |
|||
![]() |
|
pr0x 31 Jan 2006, 11:19
Thank's for advice!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.