hi,
I m trying to compile a modified version of the hello world program included in fasm windows package:
include 'include\win32a.inc'
format PE GUI 4.0
entry begin
section '.code' code import writeable readable
library kernel,'kernel32.dll',\
user,'user32.dll'
import kernel,ExitProcess,'ExitProcess'
import user,'MessageBox','MessageBoxA'
begin:
invoke MessageBox,0,"blah","blah",0
invoke ExitProcess,0
fasm doesnt like my second import.
the problem is the "import" macro.
btw: i know all the code is in one section. that what i want.
|