flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
madmatt 13 Oct 2005, 23:01
defining local structures with the locals/endl macro doesn't work correctly
locals ps PAINTSTRUCT endl gives me an 'invalid value' when used in an invoke |
|||
![]() |
|
Tomasz Grysztar 14 Oct 2005, 09:02
Perhaps you are just trying to pass the address of local label directly to the procedure (and this has nothing to do with whether those are structures or not), what is not possible, since the address is relative to EBP. Read also about "addr" prefix here.
|
|||
![]() |
|
madmatt 14 Oct 2005, 10:27
Used addr, and still happens, happens with all variables. Still getting the 'invalid value' error message.
|
|||
![]() |
|
Tomasz Grysztar 14 Oct 2005, 10:34
Make sure you've included the extended headers before using the "addr". Or just use the LEA instead.
|
|||
![]() |
|
Tomasz Grysztar 14 Oct 2005, 10:44
I strongly suggest you to read the whole Win32 Headers documentation.
|
|||
![]() |
|
madmatt 14 Oct 2005, 16:46
Yes, I'll do that, and I'll also remember that famous phrase more often "when all else fails, read the instructions!!"
![]() |
|||
![]() |
|
vid 15 Oct 2005, 16:24
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.