flat assembler
Message board for the users of flat assembler.
Index
> Windows > how to invoke a function which is member of a struct? |
Author |
|
revolution 06 Apr 2009, 15:04
invoke will already do the memory lookup for you so you can just do this:
Code: mov eax, [MessageBox] mov [mystruct.func1],eax ... invoke mystruct.func1, NULL, "ok", "ok", MB_OK |
|||
06 Apr 2009, 15:04 |
|
nazha 07 Apr 2009, 02:54
Great, thank you.
|
|||
07 Apr 2009, 02:54 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.