Hi All, I've just got my first mfc assignment for my C++ class and I'm having issues already. Perhaps someone can point me in the right direction?
Using MS Visual C++ 6.0, I've opened a Win32 Application and opened a source file. I entered the following:
-----------------------
#include <afxwin.h>
class CExerciseApp : public CWinApp
{
public:
virtual BOOL InitInstance();
}
BOOL CExerciseApp::InitInstance()
{
return TRUE;
}
CExerciseApp theApp;
------------------------------------
This produced the error message:
"fatal error LNK1104: cannot open the fole "nafxcwd.lib"
Error executing link.exe"
Can someone tell me how to fix this problem? I'll be happy to provide any needed information.
Use the Wizard to general a project, then go on from there. Don't attempt to write it from scratch. No one does that.