Board index » cppbuilder » BCB4 still cannot use VB5/VB6 ActiveX Controls

BCB4 still cannot use VB5/VB6 ActiveX Controls

I am researching this issue because I have a third party OCX control
that threw an EOLEException in BCB 1.0 but does not in BCB 3.0 using the
same code.  I would like to see what you responded to ross so I can try
it on my problem.  Sorry, but I didn't see a post from ross due to your
request.

Neal

 

Re:BCB4 still cannot use VB5/VB6 ActiveX Controls


Which EOleException?

My suggestion was this:

import the type library. This will generate a wrapper class in which
method accesses like this:

Object.Method

are VTABLE accesses

and

Object->Method

are automation accesses.

Use the automation accesses and see if that helps.

Quote
Neal Park wrote:

> I am researching this issue because I have a third party OCX control
> that threw an EOLEException in BCB 1.0 but does not in BCB 3.0 using the
> same code.  I would like to see what you responded to ross so I can try
> it on my problem.  Sorry, but I didn't see a post from ross due to your
> request.

> Neal

Other Threads