- Code: Select all Expand view
- #include <windows.h>
#pragma argsused
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow )
{
MessageBox( 0, "Hello world", "Information", MB_ICONINFORMATION );
return 0;
}
To build it:
bcc32 -tW hello