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