Hi
I created a Win32 application but when i run it, i get an error and the program is terminated.
When I run the program in debugger it gets into a file called WINMAIN.CPP and gives me an access violation error
in funcion
"int AFXAPI AfxWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPTSTR lpCmdLine, int nCmdShow)"
at "if (!pThread->InitInstance())" line.
The error says "Unhandled exception in myfile.exe (MFC42D.DLL) : Access violation".
What may be the problem? I am using VC++ 6.0.
Thanks in advice....