E:\VC98\MFC\SRC\WINCORE.CPP(38) : warning C4273: 'public: static class CWnd const CWnd::wndTop' : inconsistent dll linkage. dllexport assumed.
E:\VC98\MFC\SRC\WINCORE.CPP(38) : error C2491: 'CWnd::wndTop' : definition of dllimport static data member not allowed
E:\VC98\MFC\SRC\WINCORE.CPP(39) : warning C4273: 'public: static class CWnd const CWnd::wndBottom' : inconsistent dll linkage. dllexport assumed.
E:\VC98\MFC\SRC\WINCORE.CPP(39) : error C2491: 'CWnd::wndBottom' : definition of dllimport static data member not allowed
E:\VC98\MFC\SRC\WINCORE.CPP(40) : warning C4273: 'public: static class CWnd const CWnd::wndTopMost' : inconsistent dll linkage. dllexport assumed.
E:\VC98\MFC\SRC\WINCORE.CPP(40) : error C2491: 'CWnd::wndTopMost' : definition of dllimport static data member not allowed
E:\VC98\MFC\SRC\WINCORE.CPP(41) : warning C4273: 'public: static class CWnd const CWnd::wndNoTopMost' : inconsistent dll linkage. dllexport assumed.
E:\VC98\MFC\SRC\WINCORE.CPP(41) : error C2491: 'CWnd::wndNoTopMost' : definition of dllimport static data member not allowed
E:\VC98\MFC\SRC\WINCORE.CPP(43) : error C2065: 'AFX_WND' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(43) : error C2440: 'initializing' : cannot convert from 'int' to 'const char []'
There are no conversions to array types, although there are conversions to references or pointers to arrays
E:\VC98\MFC\SRC\WINCORE.CPP(44) : error C2065: 'AFX_WNDCONTROLBAR' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(44) : error C2440: 'initializing' : cannot convert from 'int' to 'const char []'
There are no conversions to array types, although there are conversions to references or pointers to arrays
E:\VC98\MFC\SRC\WINCORE.CPP(45) : error C2065: 'AFX_WNDMDIFRAME' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(45) : error C2440: 'initializing' : cannot convert from 'int' to 'const char []'
There are no conversions to array types, although there are conversions to references or pointers to arrays
E:\VC98\MFC\SRC\WINCORE.CPP(46) : error C2065: 'AFX_WNDFRAMEORVIEW' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(46) : error C2440: 'initializing' : cannot convert from 'int' to 'const char []'
There are no conversions to array types, although there are conversions to references or pointers to arrays
E:\VC98\MFC\SRC\WINCORE.CPP(47) : error C2065: 'AFX_WNDOLECONTROL' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(47) : error C2440: 'initializing' : cannot convert from 'int' to 'const char []'
There are no conversions to array types, although there are conversions to references or pointers to arrays
E:\VC98\MFC\SRC\WINCORE.CPP(153) : error C2065: 'WM_ACTIVATETOPLEVEL' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(194) : error C2065: '_AfxTraceMsg' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(235) : error C2065: 'DELETE_EXCEPTION' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(278) : error C2065: 'AfxCriticalNewHandler' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(281) : error C2514: 'CHandleMap' : class has no constructors
e:\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
E:\VC98\MFC\SRC\WINCORE.CPP(295) : error C2027: use of undefined type 'CHandleMap'
e:\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
E:\VC98\MFC\SRC\WINCORE.CPP(295) : error C2227: left of '->FromHandle' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(307) : error C2660: 'afxMapHWND' : function does not take 0 parameters
E:\VC98\MFC\SRC\WINCORE.CPP(312) : error C2027: use of undefined type 'CHandleMap'
e:\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
E:\VC98\MFC\SRC\WINCORE.CPP(312) : error C2227: left of '->LookupPermanent' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(330) : error C2027: use of undefined type 'CHandleMap'
e:\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
E:\VC98\MFC\SRC\WINCORE.CPP(330) : error C2227: left of '->SetPermanent' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(344) : error C2660: 'afxMapHWND' : function does not take 0 parameters
E:\VC98\MFC\SRC\WINCORE.CPP(346) : error C2027: use of undefined type 'CHandleMap'
e:\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
E:\VC98\MFC\SRC\WINCORE.CPP(346) : error C2227: left of '->RemoveHandle' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(366) : error C2059: syntax error : '('
E:\VC98\MFC\SRC\WINCORE.CPP(367) : error C2143: syntax error : missing ';' before '{'
E:\VC98\MFC\SRC\WINCORE.CPP(367) : error C2447: missing function header (old-style formal list?)
E:\VC98\MFC\SRC\WINCORE.CPP(506) : error C2065: '_afxDBCS' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(514) : error C2065: '_countof' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(514) : error C2057: expected constant expression
E:\VC98\MFC\SRC\WINCORE.CPP(514) : error C2466: cannot allocate an array of constant size 0
E:\VC98\MFC\SRC\WINCORE.CPP(514) : error C2133: 'szClassName' : unknown size
E:\VC98\MFC\SRC\WINCORE.CPP(552) : error C2065: '_AFX_CTL3D_STATE' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(552) : error C2065: 'pCtl3dState' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(552) : warning C4552: '*' : operator has no effect; expected operator with side-effect
E:\VC98\MFC\SRC\WINCORE.CPP(554) : error C2065: 'afxData' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(554) : error C2228: left of '.bWin4' must have class/struct/union type
E:\VC98\MFC\SRC\WINCORE.CPP(555) : error C2065: '_afxCtl3dState' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(555) : error C2228: left of '.GetDataNA' must have class/struct/union type
E:\VC98\MFC\SRC\WINCORE.CPP(556) : error C2227: left of '->m_pfnSubclassDlgEx' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(557) : error C2065: 'WM_QUERY3DCONTROLS' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(564) : error C2227: left of '->m_pfnSubclassDlgEx' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(730) : error C2065: 'AfxDeferRegisterClass' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(730) : error C2065: 'AFX_WND_REG' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(814) : error C2027: use of undefined type 'COleDropTarget'
e:\vc98\mfc\include\afxwin.h(1871) : see declaration of 'COleDropTarget'
E:\VC98\MFC\SRC\WINCORE.CPP(814) : error C2227: left of '->Revoke' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(832) : error C2065: 'AFX_OLDTOOLINFO' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(889) : error C2660: 'afxMapHWND' : function does not take 0 parameters
E:\VC98\MFC\SRC\WINCORE.CPP(894) : error C2027: use of undefined type 'CHandleMap'
e:\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
E:\VC98\MFC\SRC\WINCORE.CPP(894) : error C2227: left of '->LookupPermanent' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(894) : error C2027: use of undefined type 'CHandleMap'
e:\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
E:\VC98\MFC\SRC\WINCORE.CPP(894) : error C2227: left of '->LookupTemporary' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(941) : error C2065: 'WM_QUERYAFXWNDPROC' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(957) : error C2065: '_AfxGetDlgCtrlID' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(968) : error C2660: 'afxMapHWND' : function does not take 0 parameters
E:\VC98\MFC\SRC\WINCORE.CPP(970) : error C2027: use of undefined type 'CHandleMap'
e:\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
E:\VC98\MFC\SRC\WINCORE.CPP(970) : error C2227: left of '->LookupPermanent' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(991) : error C2027: use of undefined type 'CHandleMap'
e:\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
E:\VC98\MFC\SRC\WINCORE.CPP(991) : error C2227: left of '->LookupPermanent' must point to class/struct/union
E:\VC98\MFC\SRC\WINCORE.CPP(1059) : error C2065: '_AfxChildWindowFromPoint' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(1059) : error C2440: 'initializing' : cannot convert from 'int' to 'struct HWND__ *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
E:\VC98\MFC\SRC\WINCORE.CPP(1327) : error C2065: 'AfxLockGlobals' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(1327) : error C2065: 'CRIT_REGCLASSLIST' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(1346) : error C2065: 'AfxUnlockGlobals' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(1470) : warning C4273: 'protected: static struct AFX_MSGMAP const CWnd::messageMap' : inconsistent dll linkage. dllexport assumed.
E:\VC98\MFC\SRC\WINCORE.CPP(1470) : error C2491: 'CWnd::messageMap' : definition of dllimport static data member not allowed
E:\VC98\MFC\SRC\WINCORE.CPP(1639) : error C2065: 'CRIT_WINMSGCACHE' : undeclared identifier
E:\VC98\MFC\SRC\WINCORE.CPP(1717) : error C2079: 'mmf' uses undefined union 'MessageMapFunctions'
E:\VC98\MFC\SRC\WINCORE.CPP(1718) : error C2228: left of '.pfn' must have class/struct/union type
7 个解决方案
#1
程序跟之前不一样了啊
#2
看看工程里是否包含了WINCORE.CPP,有则移除
或者rebuild试试
或者rebuild试试
#3
都试过 不行
#4
如果没改动就清除,然后重新编译试试
#5
和原代码对比下,光加断点调试不应该会把原工程搞坏的
#6
是否改了环境设置信息了
#7
没有哦
#1
程序跟之前不一样了啊
#2
看看工程里是否包含了WINCORE.CPP,有则移除
或者rebuild试试
或者rebuild试试
#3
都试过 不行
#4
如果没改动就清除,然后重新编译试试
#5
和原代码对比下,光加断点调试不应该会把原工程搞坏的
#6
是否改了环境设置信息了
#7
没有哦