How to build a Windows tiny EXE
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
hello.cpp
To build it:
- 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