-
Shashank S
- PowerBuilder
- Tuesday, 23 December 2025 11:39 AM UTC
We are migrating an application from WinForms PowerBuilder to Classic PowerBuilder.
The WinForms version relied on .NET DLLs for certain functionality. Since Classic PowerBuilder cannot directly consume .NET assemblies, we are attempting to expose the required logic via a COM Callable Wrapper (CCW) and access it using OLE objects.
At runtime, one of the dependent .NET assemblies is not being resolved, which results in a null reference error when invoked from PowerBuilder.
Has anyone implemented a similar approach?
Are there known limitations or best practices when using CCWs with Classic PowerBuilder, particularly around handling dependent .NET assemblies?
Any pointers would be helpful.
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.