I connect to a dll / ocx in PowerBuilder using ConnectToNewObject. That dll is held and locked until I exit from the PowerBuilder IDE (all versions). Is there anything I can do to unload the dll either in code, or when the application is closed but the IDE isn't?
I'm getting fed-up of having to close PowerBuilder down in order to recompile my dll ready to test again.
Thanks!
If the DisconnectObject and Destroy commands did not help you unlock the DLL, then I think your stuck recycling the PB IDE on this one.
Regards ... Chris
Please feel free to open a support ticket on this issue to improve the garbage collection on external DLLs / OCXs.