VC6转换为VS2005的问题
请教各位高手:现有VC6.0利用OpenCV库编写的一程序,将其转换为VS2005之后就出现以下错误:
1> WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
1>d:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(218) : error C2011: 'CException' : 'class' type redefinition
1>d:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h(867) : see declaration of 'CException'
1>d:\program files\microsoft visual studio 8\vc\atlmfc\include\afxdisp.h(107) : error C2504: 'CException' : base class undefined
1>d:\program files\microsoft visual studio 8\vc\atlmfc\include\afxdisp.h(130) : error C2504: 'CException' : base class undefined
1>Build log was saved at "file://d:\Users\wlzhou\Desktop\识别codes\Debug\BuildLog.htm"
所有配置都是正确的,但还是出现了以上问题,不知道为什么,请各位高手指点,多谢!
[ 本帖最后由 zwlsei 于 2010-4-13 11:13 编辑 ]