Okay. Im try to make a very simple windows program from the intro to windows programming in the opengl section of tutorials on this site. This is the program:

Code:
#include <windows.h>
int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)
{
 	
	MessageBox(NULL, "\tHello World!", "My first windows app", NULL);
	return 0;
}
When I try to run it with VC++ 6, I get the following linker errors:

error LNK2001: unresolved external symbol _main
fatal error LNK1120: 1 unresolved externals
Its odd because it compiles fine, too!