- Patrizio Sorace
- PowerBuilder
- Thursday, 8 February 2018 10:22 AM UTC
Hello,
I've a PB Classic 12.6 application which use a DLL written in .NET.
The application has been successfully converted by powerbuilder 2017 and it works.
The problem is that if I use myOLEObject.ConnectToObject('mydll.class') it seems to work pretty well after deploying, but I get an error -3 if I start directly on Powerbuilder for debugging the application.
The dll is correctly registered, I also tried to install it in the GAC cache, and even if I can now remove the dll from the deployed project path and run "normally" without errors, I still get error -3 when trying to start the application from Powerbuilder.
I've tried to put the dll in many paths (windows/system32, Program Files (x86)\Appeon\PowerBuilder 17.0) but I still get the same error.
What else can I try to make it work also directly from Powerbuilder while debugging ?
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.