- Don Olliver
- PowerBuilder
- Thursday, 14 June 2018 04:07 PM UTC
Should PB 2017 .NET assemblies be able to connect to ActiveX controls using ConnectToNewObject?
We are in the process of migrating PB 11.5 COM components to PB 2017 R2 .NET assemblies. One of these components integrates with an ActiveX control from Amyuni, which we use to open, manipulate and save PDF documents.
Our code In PB 11.5 COM:
In the .NET assembly target, li_rc is zero (no errors). But, the oleobject call to open the PDF fails. The CATCH is not executed, so there is no runtimeerror. Do we need some type of interop for communication with non-.NET libraries?
Thanks,
Don Olliver
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.