Code:
#include <windows.h>
int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
return 0;
}
That's my program. Any ideas why I get:
[ERROR]
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/E.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...
E.exe - 2 error(s), 0 warning(s)
[/ERROR]
Compiling on MSVC++ 6.0.
I just have no idea what it can be. I could've sworn this would be the simplest part of the project.