flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
JohnFound
Code: invoke MessageBox, 0, state, state, MB_OK Use code tags for code you post... there are buttons in the post screen... |
|||
![]() |
|
gumletis
?? don't get that, ps i wanna do the api with eax register, or some other register, its the problem, it wont let me do it, just crashh
|
|||
![]() |
|
JohnFound
gumletis wrote: ?? don't get that, ps i wanna do the api with eax register, or some other register, its the problem, it wont let me do it, just crashh Variant 1: Code: mov eax, state invoke MessageBox, 0, eax, eax, MB_OK Variant 2: Code: lea eax, [state] invoke MessageBox, 0, eax, eax, MB_OK Listen, do you really understant what is register and what is memory and what are the base assembly concepts? If no, please find some beginers tutorials and read them. Vid's tutorial is pretty fine for beginers and it is written for FASM syntax. You can find it here: http://decard.net/?body=docs You must understand some fundamental things before working with API. Regards. |
|||
![]() |
|
gumletis
okay, thanks, i will look at that
|
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.