flat assembler
Message board for the users of flat assembler.
Index
> Windows > Give a little help ! |
Author |
|
Xanfa 03 Aug 2006, 02:49
Hmm! I've just read about an undocumented macro, "assume" !
And maybe it's what i'm expect. But I still need all your idea, thanks ! |
|||
03 Aug 2006, 02:49 |
|
farrier 03 Aug 2006, 04:07
Xanfa,
Tomasz Grysztar posted these suggestions: After loading the address of your structure into ebx, Quote: virtual at ebx In your example you used edx, you would change the above references to ebx to edx! hth, farrier _________________ Some Assembly Required It's a good day to code! U.S.Constitution; Bill of Rights; Amendment 1: ... the right of the people peaceably to assemble, ... The code is dark, and full of errors! |
|||
03 Aug 2006, 04:07 |
|
Reverend 03 Aug 2006, 22:38
The 'struct' macro by default sets all constants. You reference them via [...+NAME_OF_STRUCTURE.StructureMember] eg.:
Code: invoke WindowFromPoint,[edx + POINT.x],[edx + POINT.y] |
|||
03 Aug 2006, 22:38 |
|
Xanfa 04 Aug 2006, 01:37
Oh, your way is simple, and all is done from Tomasz tutorial about win32 headers !
I've already read about struct macro, but I'm so stupid to missed it ! farrier and Reverend - Thanks alot ! |
|||
04 Aug 2006, 01:37 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.