Why I cant use this in my program !
format PE GUI 4.0
entry begin
include '%include%\win32a.inc'
begin:
push 0
push _title
push _text
push MB_OK
call
push 0
call
_text db 'Fasm is Cool' ,0
_title db 'Title',0
; Error section
data import
library kernel,'KERNEL32.DLL',\
user, 'USER32.DLL'
kernel:
import ExitProcess,'ExitProcess' ; <--- Error here says "if used 'ExitProcess'"
user:
import MessageBox,'MessageBoxA'
end data
;End Of Error Section
What to do so i can use instead of this
section '.idata' import data readable writeable
library kernel,'KERNEL32.DLL',\
user, 'USER32.DLL'
import kernel,\
ExitProcess,'ExitProcess'
import user,\
MessageBox,'MessageBoxA'
Thnx in Advance
format PE GUI 4.0
entry begin
include '%include%\win32a.inc'
begin:
push 0
push _title
push _text
push MB_OK
call
push 0
call
_text db 'Fasm is Cool' ,0
_title db 'Title',0
; Error section
data import
library kernel,'KERNEL32.DLL',\
user, 'USER32.DLL'
kernel:
import ExitProcess,'ExitProcess' ; <--- Error here says "if used 'ExitProcess'"
user:
import MessageBox,'MessageBoxA'
end data
;End Of Error Section
What to do so i can use instead of this
section '.idata' import data readable writeable
library kernel,'KERNEL32.DLL',\
user, 'USER32.DLL'
import kernel,\
ExitProcess,'ExitProcess'
import user,\
MessageBox,'MessageBoxA'
Thnx in Advance
Just:
data import
library kernel,'KERNEL32.DLL',user, 'USER32.DLL'
import kernel,ExitProcess,'ExitProcess'
import user,MessageBox,'MessageBoxA'
end data
Wow that was easy :)
Thnx again man n Take Care !
Thnx again man n Take Care !