请写过ocx的FW们讨论一下这个问题 (200分)

  • 主题发起人 主题发起人 yoking
  • 开始时间 开始时间
Y

yoking

Unregistered / Unconfirmed
GUEST, unregistred user!
我自己写了一个OCX控件,在VB中调用没有问题
在PB中只要调用控件的方法或属性
在退出程序的时候就会出错
请教ocx高手与PB高手,会是什么原因
是不是pb释放控件的时候出了问题
分别用vb和pb写的程序作宿主程序
跟踪调试,vb程序正常,pb程序有 找不到成员 的异常
不在调试环境中没有异常
我又用几个标准的delphi控件封装成ocx,在PB中也是不能使用
好向所有用delphi制作的ocx在pb中都不能使用

请大家讨论一下这个问题,有没有办法补救
 
upupup upupup upupupupupupupupup
upupup upupup upupupupup upupup
upupup upupup upupupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupupup upupup
upupup upupupup upupupupup upupup
upupupupupupupupup upupupupupupupupup
upupup
upupup
upupup
upupup
 
我又试了一下,好像所有用delphi的向导生成的控件都有这个错误
有没有办法弥补呢
会不会和dispid的id值有关
 
hubdog兄与 zyy04 兄有没有发现这个问题啊
 
这个问题主要应出在pb上,但是为什么微软的那些ocx在pb中能用的
请写过ocx的富翁们关注这个问题
大家有没有遇到过这种情况

一直认为delphi是最优秀的,所以坚信此问题又解决办法
如找到答案,一定与大家分享
关注有分
 
upupup upupup upupupupupupupupup
upupup upupup upupupupup upupup
upupup upupup upupupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupup upupup
upupup upupup upupupup upupup
upupup upupupup upupupupup upupup
upupupupupupupupup upupupupupupupupup
upupup
upupup
upupup
upupup
真有功夫!!!!
 
怎么没有人发话,将贴子再提前一下
 
怎么没人响应啊
最后一次up
 
后退
顶部