1. Sailaja Sumanam
  2. PowerBuilder
  3. Monday, 4 November 2024 18:15 PM UTC

Hi,

 

We are using Powerbuilder 2022 R3 64 bit version for one of our applications. We use AmyUni 6.5 PDF converter to create and print PDF documents by initiating them through PDFCreactiveX Class ole control.

 

Earlier we were using AmyUni 6.0 and recently we are upgrading to 6.5 version. We unregistered and re-registered the 32 bit and 64 bit dlls provided by AmyUni for upgrade to 6.5. While upgrading we needed to replace the existing OLE controls with class 'PDFCreactiveXclass' to point to the new dlls. While doing that, even though PB is 64 bit one, AmyUni still references the dlls from syswow64 folder (32 bit AmyUni dlls) itself from PB IDE.

 

Does AmyUni support only 32 bit IDE of PB or is there any issue why the 64 bit dlls are not getting referenced in OLE controls? Please let us know.

 

Thanks.

Sailaja

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 5 November 2024 02:10 AM UTC
  2. PowerBuilder
  3. # 1

I recommend you carefully read the 64-bit migration guide and understand what is involved before you switch from 32-bit to 64-bit project: https://docs.appeon.com/pb2022r3/migrating_32bit_applications_to_64bit/index.html

Also, you might want to consider getting rid of Amyuni and instead use NativePDF and PDF Builder features that are built-in PB.  You can look through the documentation for more info.

 

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Monday, 4 November 2024 19:36 PM UTC
  2. PowerBuilder
  3. # 2

Hi Sailaja,

The IDE is currently a 32 bit application, so if that DLL interacts with the IDE in any way, you will have to provide the 32 bit binaries.
That said, I assume you are publishing your application on 64 bit architecture. So if you need to make use of that DLL in your published application you will need to provide the 64 bit DLLs on the published application's directory.

Regards,
Francisco

 

Comment
There are no comments made yet.
Bruce Armstrong Accepted Answer Pending Moderation
  1. Monday, 4 November 2024 19:33 PM UTC
  2. PowerBuilder
  3. # 3

The PowerBuilder IDE is still 32 bit.  So when you're running the app from the IDE it will still need to use the 32 bit Active X.

Why not just reference the DLLs directly as local external function calls?

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.