To make a Win32 application, you can copy and paste this code, then modify it to suit your needs. You may need to change your compiler settings.
Code:
#include <windows.h>
//other includes go here
INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, \
LPSTR lpCmdLine, int nCmdShow)
{
//put your main() code here. A window isn't created
//unless you explicitly code one.
return 0; //or whatever other value you want
}
Win32 Programming Tutorial