Beginning Question

Mar 23, 2010 at 4:21am
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.
Mar 23, 2010 at 10:24am
Last edited on Mar 23, 2010 at 10:25am
Topic archived. No new replies allowed.