lwp200278
lwp200278
2018-11-21 06:21

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

20
  • xp
  • vc

提示上百条错误
:\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'

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答