因为#include "Excel_2K_SRVR.h",然后使用进度条控件ProgressBar报错?

scoredhigh 2013-09-05 02:45:55
因为#include "Excel_2K_SRVR.h",然后使用进度条控件ProgressBar报错?

报错信息:
E2015 Ambiguity between 'Windows' and 'Excel_2k::Windows'
E2015 Ambiguity between 'Menus' and 'Excel_2k::Menus'

难道需要操作excel的地方,就不能使ProgressBar控件了吗?
...全文
71 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
缘中人 2013-09-05
  • 打赏
  • 举报
回复
注意文件的顺序 #include <vcl.h> #pragma hdrstop #include "Unit1.h" #include "Excel_2K_SRVR.h" //放到后面就可以了Unit1.h,放到前面就报错了

13,825

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder相关内容讨论区
社区管理员
  • 基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧