Load .Net DLL
- New
- How-to
- .NET Assembly
- PowerBuilder
-
Bernard Ceulemans
- PowerBuilder
- Thursday, 20 February 2025 03:16 PM UTC
Hello,
I used the “.NET DLL Importer” tool to add a function to my PB application. It works very well in Powerbuilder and after compilation on my development PC.
However, when I try to load the dll on another PC, the LoadWithDotNet function returns -1 and I don't get any message in ErrorText of the DotNetAssembly.
Should I add more dlls to the deployment kit?
Should I do something in the build project?
Should I install Microsoft .DotNet components?
In the example below, the dll is located in the application directory.
My Powerbuilder version is 2022 R2 Build 2828.
Thank you for your help
Have a nice day,
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.