我在封装ADO是#import "C:\Program Files\Common Files\System\ADO\msado15.dll" no_namespace rename("EOF","adoEOF"),rename("BOF","adoBOF")class   CAdoConnection
{public:
CAdoConnection();
virtual ~CAdoConnection();};系统提示:e:\project\citcdll\adoclass\debug\msado15.tlh(169) : error C2011: 'LockTypeEnum' : 'enum' type redefinition
e:\project\citcdll\adoclass\debug\msado15.tlh(212) : error C2011: 'DataTypeEnum' : 'enum' type redefinition
e:\project\citcdll\adoclass\debug\msado15.tlh(256) : error C2011: 'FieldAttributeEnum' : 'enum' type redefinition
e:\project\citcdll\adoclass\debug\msado15.tlh(277) : error C2011: 'EditModeEnum' : 'enum' type redefinition
e:\project\citcdll\adoclass\debug\msado15.tlh(285) : error C2011: 'RecordStatusEnum' : 'enum' type redefinition我把 #import "C:\Program Files\Common Files\System\ADO\msado15.dll" no_namespace rename("EOF","adoEOF"),rename("BOF","adoBOF")
注释掉就好了,
请问大家错在哪里,如何改?