1. Vishrut Dave
  2. PowerBuilder
  3. Thursday, 31 March 2022 05:24 AM UTC

Dear Support Team,

I have created Power Builder application which generates the Exe as an output. In my project I have added .Net dll which have the functions and that I am calling in Power Builder application. Everything working fine in my development environment. So I have deployed the project which generate the output files (xyz.exe and xyz.xml)

When I running above deployed files (along with Runtime Folder) in another PC, Power Builder Exe is working but at same time application is not calling the function of .Net dll. Even I placed the .Net dll manually along with exe file but result is same and it is not calling the .Net dll function.  

Could you please guide me like How to deploy the Power Builder Project which has reference of .Net dll and it will work in another pc as well?

Regards,

Vishrut Dave

 

 

Accepted Answer
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 31 March 2022 12:41 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi,

If you've used the DLL importer tool, you probably have an instance variable in the nvo which indicates a 'fixed' path to the DLL. You have to change that path to be a relative one, like ".\my.dll".

regards.

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 31 March 2022 14:58 PM UTC
  2. PowerBuilder
  3. # 1

Did you copy the correct runtime DLLs to the other PC?  There are special DLLs required to support the .NET integration: PBDotNet.dll, PBDotNetFrameworkInvoker.dll, PBDotNetCoreInvoker.dll

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.