2010下TShockwave的使用问题
小弟初学BCB
希望各位朋友能多多支持
之前的工程是2009的
其中引用了Shockwaveflash的插件
之后升级到2010版
同一个flashocx.cbproj编译通过也Install成功
使用Shockwaveflash控件的client程序启动BCB IDE没有问题
未出现丢失控件的错误
但是编译时始终报错
于是自己按照下面文章的方法重建了一个flashocx.cbproj
http://space.baidu.com/luoshupeng/blog/item/c5bdaf446aed0988b3b7dc20.html
flashocx.cbproj编译通过也Install成功
编译时依然报错
============================================================================================
[BCC32 Error] dispex.h(218): E2238 Multiple declaration for 'IDispatchEx'
[BCC32 Error] dispex.h(54): E2344 Earlier declaration of 'IDispatchEx'
[BCC32 Error] dispex.h(240): E2015 Ambiguity between 'IServiceProvider' and 'Shockwaveflashobjects_tlb::IServiceProvider'
[BCC32 Error] dispex.h(435): E2015 Ambiguity between 'IDispatchEx' and 'Shockwaveflashobjects_tlb::IDispatchEx'
[BCC32 Error] dispex.h(443): E2015 Ambiguity between 'IServiceProvider' and 'Shockwaveflashobjects_tlb::IServiceProvider'
[BCC32 Error] dispex.h(436): E2015 Ambiguity between 'IDispatchEx' and 'Shockwaveflashobjects_tlb::IDispatchEx'
[BCC32 Error] dispex.h(443): E2015 Ambiguity between 'IServiceProvider' and 'Shockwaveflashobjects_tlb::IServiceProvider'
[BCC32 Error] dispex.h(869): E2015 Ambiguity between 'IDispatchEx' and 'Shockwaveflashobjects_tlb::IDispatchEx'
[BCC32 Error] dispex.h(884): E2015 Ambiguity between 'IServiceProvider' and 'Shockwaveflashobjects_tlb::IServiceProvider'
[BCC32 Error] dispex.h(870): E2015 Ambiguity between 'IDispatchEx' and 'Shockwaveflashobjects_tlb::IDispatchEx'
[BCC32 Error] dispex.h(884): E2015 Ambiguity between 'IServiceProvider' and 'Shockwaveflashobjects_tlb::IServiceProvider'
[BCC32 Error] dispex.h(887): E2015 Ambiguity between 'IDispatchEx' and 'Shockwaveflashobjects_tlb::IDispatchEx'
[BCC32 Error] dispex.h(895): E2015 Ambiguity between 'IServiceProvider' and 'Shockwaveflashobjects_tlb::IServiceProvider'
[BCC32 Error] dispex.h(888): E2015 Ambiguity between 'IDispatchEx' and 'Shockwaveflashobjects_tlb::IDispatchEx'
[BCC32 Error] dispex.h(895): E2015 Ambiguity between 'IServiceProvider' and 'Shockwaveflashobjects_tlb::IServiceProvider'
[BCC32 Error] MsHtml.h(4716): E2015 Ambiguity between 'IDispatchEx' and 'Shockwaveflashobjects_tlb::IDispatchEx'
[BCC32 Error] MsHtml.h(4739): E2015 Ambiguity between 'IDispatchEx' and 'Shockwaveflashobjects_tlb::IDispatchEx'
============================================================================================
实在不知道原因了
望哪位有经验的朋友可以帮忙分析下
谢谢
[解决办法]
从出错提示看是重复定义了,代码是不是有问题呀
[解决办法]
解决了就好。