I have two activeX objects (ocx) need some communication. In VB, I can do the following
ocx1.SetOCXObject(ocx2)
so that the ocx2 object is passed to ocx1 and ocx1 can then access the methods in ocx2.
However, I cannot do the same in PowerBuilder (version 5.0). When I use:
ole_2.Object.SetOCXObject(REF ole_1.Object)
It crashes and exit PB5.0
Any hints?
Thanks
ocx1.SetOCXObject(ocx2)
so that the ocx2 object is passed to ocx1 and ocx1 can then access the methods in ocx2.
However, I cannot do the same in PowerBuilder (version 5.0). When I use:
ole_2.Object.SetOCXObject(REF ole_1.Object)
It crashes and exit PB5.0
Any hints?
Thanks