首页 新闻 会员 周边

c++ builder加载第三方dll出现的问题。奇怪的错,看不懂,求大神指导!!!

0
悬赏园豆:60 [已关闭问题] 关闭于 2015-12-23 15:43
本人使用的是c++ builder 6
[C++ Error] RTS.tlh(119): E2293 ) expected [C++ Error] RTS.tlh(131): E2293 ) expected [C++ Error] RTS.tlh(134): E2293 ) expected [C++ Error] RTS.tlh(145): E2293 ) expected [C++ Error] RTS.tlh(149): E2293 ) expected [C++ Error] RTS.tlh(154): E2293 ) expected [C++ Error] RTS.tlh(165): E2293 ) expected [C++ Error] RTS.tlh(176): E2293 ) expected [C++ Error] RTS.tlh(180): E2293 ) expected [C++ Error] RTS.tlh(190): E2293 ) expected [C++ Error] RTS.tlh(201): E2293 ) expected [C++ Error] RTS.tlh(205): E2293 ) expected [C++ Error] RTS.tlh(225): E2293 ) expected [C++ Error] TeCanvas.hpp(514): E2015 Ambiguity between 'Byte' and 'System::Byte' [C++ Error] TeCanvas.hpp(515): E2015 Ambiguity between 'Byte' and 'System::Byte' [C++ Error] TeCanvas.hpp(524): E2015 Ambiguity between 'Byte' and 'System::Byte' [C++ Error] TeCanvas.hpp(525): E2015 Ambiguity between 'Byte' and 'System::Byte'

这是我在引用一个第三方dll时出现的。

具体操作:

  1. 已将vs的dll库转换成bcb引入库,因为只有dll文件,所以缺少头文件
  2. 已通过import导入**.tlb文件
  3. 已将引入库添加进project
  4. 已将dll放入根目录
blackday的主页 blackday | 初学一级 | 园豆:118
提问于:2015-12-21 18:13
< >
分享
所有回答(1)
0

问题已解决,多写了一行添加tlb的代码

blackday | 园豆:118 (初学一级) | 2015-12-23 15:43
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册