StdAfx.cpp
d:\tempvc\uptext\debug\msado15.tlh(169) : error C2011: 'LockTypeEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(212) : error C2011: 'DataTypeEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(256) : error C2011: 'FieldAttributeEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(277) : error C2011: 'EditModeEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(285) : error C2011: 'RecordStatusEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(405) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
d:\tempvc\uptext\debug\msado15.tlh(527) : error C2011: 'ParameterDirectionEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(169) : error C2011: 'LockTypeEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(212) : error C2011: 'DataTypeEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(256) : error C2011: 'FieldAttributeEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(277) : error C2011: 'EditModeEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(285) : error C2011: 'RecordStatusEnum' : 'enum' type redefinition
d:\tempvc\uptext\debug\msado15.tlh(405) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
d:\tempvc\uptext\debug\msado15.tlh(527) : error C2011: 'ParameterDirectionEnum' : 'enum' type redefinition
解决方案 »
- 有获得应用程序的CPU占用时间的API函数吗?
- 一个VC的工程如何画类图?
- 求助一个小问题哈(循环和判断的效率问题)
- 要转C++,不知怎么开始,先散分再说
- 请教数据库高手,我在一个DLL中用ADO访问数据库,在加载后,在卸载这DLL,析构连接ADODB::_ConnectPtr指针对象时出错了,请问是什么原因
- 求求你们了
- 关于GetCurrentTime()的问题
- Visual Studio安装的问题:安装到最后一步了
- TCP如何发送多个文件?第一有数据,其余为0;求救.
- 我用VC2005做的东西,到VC6.0下出现很多错误。有没有什么好的办法实现转换?
- 我想把EXE放到所有窗口的最下面,怎么做
- wrl文件结构格式
在stdafx中加入#pragma warning(disable:4146)
#import "C:\Program Files\Common Files\System\ADO\msado15.dll" named_guids rename("EOF","adoEOF"), rename("BOF","adoBOF")
#pragma warning(default:4146)
using namespace ADODB; 后应该可以的。