How to build a Windows tiny EXE
Posted: Tue May 07, 2019 5:05 am
hello.cpp
To build it:
Code: Select all
#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;
}
bcc32 -tW hello