|
在arx2007中(环境为vs2005),在stdafx.h加入#include"msado15.tlh",出现如下错误怎么办? 1>------ 已启动全部重新生成: 项目: ArxProject3, 配置: Debug Win32 ------
1>正在删除项目“ArxProject3”(配置“Debug|Win32”)的中间文件和输出文件
1>正在编译...
1>StdAfx.cpp
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(228) : error C2011: 'LockTypeEnum' : 'enum' type redefinition
1> d:\application\vs2005\setup\vc\platformsdk\include\dbdaoint.h(109) : see declaration of 'LockTypeEnum'
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(276) : error C2011: 'DataTypeEnum' : 'enum' type redefinition
1> d:\application\vs2005\setup\vc\platformsdk\include\dbdaoint.h(138) : see declaration of 'DataTypeEnum'
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(321) : error C2011: 'FieldAttributeEnum' : 'enum' type redefinition
1> d:\application\vs2005\setup\vc\platformsdk\include\dbdaoint.h(127) : see declaration of 'FieldAttributeEnum'
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(343) : error C2011: 'EditModeEnum' : 'enum' type redefinition
1> d:\application\vs2005\setup\vc\platformsdk\include\dbdaoint.h(83) : see declaration of 'EditModeEnum'
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(352) : error C2011: 'RecordStatusEnum' : 'enum' type redefinition
1> d:\application\vs2005\setup\vc\platformsdk\include\dbdaoint.h(341) : see declaration of 'RecordStatusEnum'
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(616) : error C2011: 'ParameterDirectionEnum' : 'enum' type redefinition
1> d:\application\vs2005\setup\vc\platformsdk\include\dbdaoint.h(326) : see declaration of 'ParameterDirectionEnum'
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(1629) : error C2059: syntax error : 'constant'
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(1629) : error C2238: unexpected token(s) preceding ';'
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(2373) : error C2059: syntax error : '-'
1>c:\documents and settings\administrator\local settings\temp\msado15.tlh(2373) : error C2238: unexpected token(s) preceding ';'
1>生成日志保存在“file://e:\my prog\ArxProject3\ArxProject3\Debug\BuildLog.htm”
1>ArxProject3 - 10 个错误,0 个警告
========== 全部重新生成: 0 已成功, 1 已失败, 0 已跳过 ==========
|
|