编译时为什么会出现库文件错误?
事情是这样的,刚开始程序编译无错,可以运行,可是在debug了一次后,再次就出现了如下错误信息:
Compiling...
AFXSTATE.CPP
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\AFXSTATE.CPP(118) : error C2027: use of undefined type 'COleControlLock'
c:\program files\microsoft visual studio\vc98\mfc\include\afxstat_.h(177) : see declaration of 'COleControlLock'
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\AFXSTATE.CPP(118) : error C2227: left of '->m_pNextLock' must point to class/struct/union
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\AFXSTATE.CPP(133) : error C2661: 'new' : no overloaded function takes 2 parameters
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\AFXSTATE.CPP(140) : warning C4150: deletion of pointer to incomplete type '_AFX_DAO_STATE'; no destructor called
c:\program files\microsoft visual studio\vc98\mfc\include\afxstat_.h(181) : see declaration of '_AFX_DAO_STATE'
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\AFXSTATE.CPP(175) : warning C4150: deletion of pointer to incomplete type 'CHandleMap'; no destructor called
c:\program files\microsoft visual studio\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\AFXSTATE.CPP(176) : warning C4150: deletion of pointer to incomplete type 'CHandleMap'; no destructor called
c:\program files\microsoft visual studio\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\AFXSTATE.CPP(177) : warning C4150: deletion of pointer to incomplete type 'CHandleMap'; no destructor called
c:\program files\microsoft visual studio\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\AFXSTATE.CPP(178) : warning C4150: deletion of pointer to incomplete type 'CHandleMap'; no destructor called
c:\program files\microsoft visual studio\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\AFXSTATE.CPP(179) : warning C4150: deletion of pointer to incomplete type 'CHandleMap'; no destructor called
c:\program files\microsoft visual studio\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
请高人解决,我下了几天的程序怎么都跑不起来了,束手无策