Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Compiling Windows Program

Name: Anonymous 2005-11-15 14:39

I have this source file:

#include <windows.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
    LPSTR lpCmdLine, int nCmdShow)
{
    MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK);
    return 0;
}

and I have the command-line compile tools. What do I enter to make it compile?

Name: Anonymous 2005-11-16 13:08

Gah. All these new compiler has .NET and MFC crap and takes up gigabytes of space. Do you know what version had just the Win32 stuff?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List