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:
When I try to run it with VC++ 6, I get the following linker errors: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; }
Its odd because it compiles fine, too!error LNK2001: unresolved external symbol _main
fatal error LNK1120: 1 unresolved externals



LinkBack URL
About LinkBacks


