1. selvam G
  2. PowerBuilder
  3. Friday, 12 October 2018 13:34 PM UTC

Hello Appeon community,

I have a third party C sharp dll and C++ dll which I need to call from PB2017 to access some functions.
Only Send and Retrieve/ get functions.
We have moved to PB2017 R2 recently, this is a new module I need to add.
This is a client Server environment only.
Dll is not Com Visible.
 
Can anyone please let me know how this can be done and if this is possible to do in PB2017 without Visual Studio?

Need some help please, on time crunch.

Any advice will be much appreciated.Thanks a lot.

Selvam

selvam G Accepted Answer Pending Moderation
  1. Friday, 12 October 2018 13:58 PM UTC
  2. PowerBuilder
  3. # 1

Hi Chris

Thanks for quick response, I saw those but those are referring to PB.net/webform etc, can that be done from Appeon PB2017 ?

Thanks

Selvam

Comment
  1. Chris Pollach @Appeon
  2. Friday, 12 October 2018 14:18 PM UTC
Hi Selvam;

Webform was discontinued by SAP in PB v12.5.2. SAP deprecated PB.net in the v12.6 time frame. PB2017Rx is bult upon the PB12.6 "Classic" version. So the only way to call a .Net Assembly DLL from PB directly is via a COM Callable approach.

Regards ... Chris
  1. Helpful
  1. selvam G
  2. Friday, 12 October 2018 17:10 PM UTC
Thanks Chris. wanted to know if PB2018 can able to call csharp/C++ dlls as external function?

Regards

Selvam
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 12 October 2018 17:55 PM UTC
Yes, any C or C++ DLL regardless of the development tool can be called by their methods as long as you expose them externally.. (that is the __STDCALL declaration).



FYI: http://www.rgagnon.com/pbdetails/pb-0123.html



HTH
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 12 October 2018 13:43 PM UTC
  2. PowerBuilder
  3. # 2

Hi Selvam;

  FYI:  https://blogs.sap.com/2013/02/28/using-net-assemblies-with-powerbuilder/

HTH

Regards ... Chris

 

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.
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.