1. Raghuram Narayanan
  2. PowerBuilder
  3. Sunday, 21 March 2021 19:28 PM UTC

Hello Everyone,

 

I have .net5 dlls are registered into assembly using regsvr32 and trying to consume these registred dlls in powerbuilder. I came across the below link to consume .net5 assemblies. I am using Powerbuilder 2017 R3 and trying to consume dll using .Net DLL Importer.  

https://docs.appeon.com/pb2019r2/application_techniques/ch20s02.html

 

Unfortunatly I dont see .Net Dll Importer under Tools or File -> New -> Tool. Can someone assist me on this to get .Net Dll importer so that I will be able to create proxy class for assembly in Powerbuilder?

Thanks in advance.

 

Thanks & Regards,

Raghu

Attachments (1)
Andreas Mykonios Accepted Answer Pending Moderation
  1. Monday, 22 March 2021 13:06 PM UTC
  2. PowerBuilder
  3. # 1

If your assembly is registered using regsvr32, are you sure itsn't COM visible? If it is COM visible you may be able to use it via COM...

(By the way, assemblies should be registerer with regasm...)

Andreas.

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Sunday, 21 March 2021 20:10 PM UTC
  2. PowerBuilder
  3. # 2

Your version is too old.  Why do you refer to 2019 R2 documentation when you are using 2017 R3?  I suggest you upgrade to 2019 R3.

Also, .NET 5 not supported yet.  The DLL needs to be recompiled with .NET 4.x or .NET Core 3.x.  The table on this page explains what version of .NET DLLs 2019 R3 supports: https://docs.appeon.com/pb2019r3/application_techniques/ch05s01.html

 

Comment
There are no comments made yet.
Raghuram Narayanan Accepted Answer Pending Moderation
  1. Sunday, 21 March 2021 20:02 PM UTC
  2. PowerBuilder
  3. # 3

Thanks Chris. I dont see .Net Dll Importer in Tools menu. Could you please tell me how to get it?

Attachments (1)
Comment
  1. Chris Pollach @Appeon
  2. Sunday, 21 March 2021 20:18 PM UTC
You need PB2019R2 or higher.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Sunday, 21 March 2021 19:52 PM UTC
  2. PowerBuilder
  3. # 4

Hi Rahul;

   FYI: Select Tools | .NET DLL Importer menu in the PowerBuilder IDE.

Regards ... Chris

Comment
  1. Raghuram Narayanan
  2. Sunday, 21 March 2021 20:01 PM UTC
Thanks Chris. I dont see .Net Dll Importer in Tools menu. Could you please tell me how to get it?



  1. Helpful
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.