VC++ 编译连接 有关问题

VC++ 编译连接 问题
我写了个简单的AppWizard,刚开始没什么问题,后来就不行了,编译可以通过,组合的时候就不行了。
下边是异常内容:
--------------------Configuration: Ex06A - Win32 Debug--------------------
Compiling...
APPCORE.CPP
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(36) : warning C4273: 'protected: static struct AFX_MSGMAP const CWinApp::messageMap' : inconsistent dll linkage.  dllexport assumed.
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(36) : error C2491: 'CWinApp::messageMap' : definition of dllimport static data member not allowed
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(66) : error C2065: 'AfxDeleteObject' : undeclared identifier
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(156) : error C2514: 'CRecentFileList' : class has no constructors
        d:\program files (x86)\microsoft visual studio\vc98\mfc\include\afxwin.h(3930) : see declaration of 'CRecentFileList'
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(157) : error C2027: use of undefined type 'CRecentFileList'
        d:\program files (x86)\microsoft visual studio\vc98\mfc\include\afxwin.h(3930) : see declaration of 'CRecentFileList'
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(157) : error C2227: left of '->ReadList' must point to class/struct/union
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(199) : error C2065: 'USES_CONVERSION' : undeclared identifier
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(200) : error C2065: 'T2CA' : undeclared identifier
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(298) : warning C4150: deletion of pointer to incomplete type 'CRecentFileList'; no destructor called
        d:\program files (x86)\microsoft visual studio\vc98\mfc\include\afxwin.h(3930) : see declaration of 'CRecentFileList'
D:\Program Files (x86)\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP(317) : error C2065: 'AfxGlobalFree' : undeclared identifier