#COMPILE EXE "s89_messagebox.exe"
#INCLUDE ONCE "windows_core.pbi"
' Sample: WinAPI MessageBox
FUNCTION PBMAIN() AS LONG
    PRINT "Calling MessageBoxA via WinAPI..."
    CALL MessageBoxA(0, "Hello from PBXA64!", "Sample", MB_OK)
    PRINT "MessageBox returned"
    FUNCTION = 0
END FUNCTION
