1. Mattia Matiz
  2. PowerBuilder
  3. Wednesday, 7 August 2024 13:50 PM UTC

Hi everyone, 

as the title says, I'd like to know if there's a way to create a Powerbuilder registrable .dll with exposed classes and methods and being able to reuse them
in a Java environment.

We would use the .dll to generate PDFs through powerbuilder's PDFExport function.

Thank you in advance,

Mattia Matiz

Mattia Matiz Accepted Answer Pending Moderation
  1. Thursday, 8 August 2024 09:34 AM UTC
  2. PowerBuilder
  3. # 1

Thank you for the suggestion, Roland and Armeen

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 7 August 2024 17:01 PM UTC
  2. PowerBuilder
  3. # 2

I think you would have to write a C++ DLL with functions that are callable from Java and use PBNI functionality to call PB from C++.

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 7 August 2024 16:16 PM UTC
  2. PowerBuilder
  3. # 3

PowerBuilder runtime DLLs are designed to be run in a client app not in a server app.  So even if you somehow do accomplish this, it is not going to be scalable and fault tolerant.  Therefore I don't recommend you do this.  However, if the Java app is a client desktop app then this would not have such problem/risk.

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.