Win10系统下运行原XP系统下的VC6.0程序,编辑报msado15.tli 重定义错误,哪位大神帮帮忙 20C

提示上百条错误
:\code203\debug\msado15.tli(819) : error C2872: 'EditModeEnum' : ambiguous symbol
d:\code203\debug\msado15.tli(819) : error C2556: 'enum EditModeEnum __thiscall ADOCG::Recordset15::GetEditMode(void)' : overloaded function differs only by return type from 'enum ADOCG::EditModeEnum __thiscall ADOCG::Recordset15::GetEditMode(void)'
d:\code203\debug\msado15.tlh(1467) : see declaration of 'GetEditMode'
d:\code203\debug\msado15.tli(819) : error C2371: 'GetEditMode' : redefinition; different basic types
d:\code203\debug\msado15.tlh(1467) : see declaration of 'GetEditMode'
d:\code203\debug\msado15.tli(1215) : error C2872: 'DataTypeEnum' : ambiguous symbol
d:\code203\debug\msado15.tli(1215) : error C2556: 'enum DataTypeEnum __thiscall ADOCG::Field20::GetType(void)' : overloaded function differs only by return type from 'enum ADOCG::DataTypeEnum __thiscall ADOCG::Field20::GetType(void)'
d:\code203\debug\msado15.tlh(1913) : see declaration of 'GetType'
d:\code203\debug\msado15.tli(1215) : error C2371: 'GetType' : redefinition; different basic types
d:\code203\debug\msado15.tlh(1913) : see declaration of 'GetType'
DlgMemSetView.cpp
d:\code203\debug\msado15.tli(819) : error C2872: 'EditModeEnum' : ambiguous symbol
d:\code203\debug\msado15.tli(819) : error C2556: 'enum EditModeEnum __thiscall ADOCG::Recordset15::GetEditMode(void)' : overloaded function differs only by return type from 'enum ADOCG::EditModeEnum __thiscall ADOCG::Recordset15::GetEditMode(void)'
d:\code203\debug\msado15.tlh(1467) : see declaration of 'GetEditMode'
d:\code203\debug\msado15.tli(819) : error C2371: 'GetEditMode' : redefinition; different basic types
d:\code203\debug\msado15.tlh(1467) : see declaration of 'GetEditMode'
d:\code203\debug\msado15.tli(1215) : error C2872: 'DataTypeEnum' : ambiguous symbol
d:\code203\debug\msado15.tli(1215) : error C2556: 'enum DataTypeEnum __thiscall ADOCG::Field20::GetType(void)' : overloaded function differs only by return type from 'enum ADOCG::DataTypeEnum __thiscall ADOCG::Field20::GetType(void)'
d:\code203\debug\msado15.tlh(1913) : see declaration of 'GetType'
d:\code203\debug\msado15.tli(1215) : error C2371: 'GetType' : redefinition; different basic types
d:\code203\debug\msado15.tlh(1913) : see declaration of 'GetType'

vc xp

2个回答

ado是一个activex组件,用来访问数据库的,但是windows 10早就不支持了。你还是用虚拟机+xp+vc 6.0吧。

有其它的方式来适应win10环境吗?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问