在stdafx.h里加入#import "c:\program files\common files\system\ado\msado15.dll"no_namespace rename("EOF","adoEof")
error C2011: 'LockTypeEnum' : 'enum' type redefinition
error C2011: 'DataTypeEnum' : 'enum' type redefinition
error C2011: 'FieldAttributeEnum' : 'enum' type redefinition
error C2011: 'EditModeEnum' : 'enum' type redefinition
error C2011: 'RecordStatusEnum' : 'enum' type redefinition
warning C4146: unary minus operator applied to unsigned type阅读全文>
发表于 @ 2008年06月20日 14:32:00|评论(loading...)|收藏
解决方法:
方法一:在include头文件的地方加上#include "stdafx.h"。方法二:打开此项目的“属性页”对话框。单击“C/C++”文件夹。单击“预编译头”属性页。修改“创建/使用预编译头”属性为“不使用预编译头”。
阅读全文>发表于 @ 2008年06月19日 11:12:00|评论(loading...)|收藏