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 17:58

>>11

Get the commandline compiler from Borland and toss in the platform SDK from MS.

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