Win32 MessageBox
; Draws a Windows MessageBox using FASM macros. Requires FASM.
include 'win32ax.inc'
.code
start:
invoke MessageBox, HWND_DESKTOP, "Hello world.", invoke GetCommandLine, MB_OK
invoke ExitProcess, 0
.end start
; Draws a Windows MessageBox using FASM macros. Requires FASM.
include 'win32ax.inc'
.code
start:
invoke MessageBox, HWND_DESKTOP, "Hello world.", invoke GetCommandLine, MB_OK
invoke ExitProcess, 0
.end start