Hi,
I am using Visual Studio 2005. And this basic code is giving the error-
#include <windows.h>
int WINAPI WinMain ( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
PSTR szCmdLine,
int nCmdShow )
{
MessageBox(NULL, TEXT("Hello World"), TEXT("Vipul Bajaj"), 0);
return 0;
}
The error is
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
Plz help.