lwp200278 2018-11-21 06:21 采纳率: 0%
浏览 823
已结题

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

提示上百条错误
:\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条回答 默认 最新

  • threenewbee 2018-11-21 06:53
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题