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-15 19:19

>>4
Does the free command-line version of VS include the Win32 header files?  If it does, it's just a matter of using the library flag and referencing that directory.

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