?

Log in

Nerdery - Jo [entries|archive|friends|userinfo]
Jo

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Nerdery [Sep. 21st, 2015|12:50 pm]
Jo
My pet personal tech project can now compile this to a working 64-bit Windows executable:


extern USER32.DLL:MessageBoxA(Uint64 hwnd, Byte^ text, Byte^ caption, Uint64 type)
extern KERNEL32.DLL:ExitProcess(Uint64 val)

Byte^ text = "Hello World"
MessageBoxA(0, text, text, 0)
ExitProcess(42)


(it already does the equivalent on Linux with raw syscalls instead of Win32 API calls.)
linkReply