1. Subrat patra
  2. PowerBuilder
  3. Friday, 17 November 2023 06:00 AM UTC

Hi All,

We want to migrate our application to 64 bit. Currently we migrated to PB2022 32 bit. Our main issues are

1> This is very old legacy application ( I guess it started with PB 5, more than 20 years ago). They are using PFC, PBX files and some .net applications.

2> So when I try to run the application from pb2022 IDE by selecting x64 from the dropdown, I am not able to run the application ,but its working with 32 bit. When I debug , i found the issue with some PFC code and I googled it and changed to support 64bit.

As this is very big application, I need your suggestion what should be my steps while migrating to 64 bit. Is it better to take help from appeon ?

 

Regards

Subrat

 

Bruce Armstrong Accepted Answer Pending Moderation
  1. Friday, 17 November 2023 19:18 PM UTC
  2. PowerBuilder
  3. # 1

FWIW, during Elevate 2023 I have a session on migrating to PowerBuilder 2022 R2.  One of the things I cover is migration to 64 bit.

https://www.appeon.com/conference/elevate-2023/agenda.html

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Friday, 17 November 2023 15:00 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Subrat -

If your legacy app uses external function declarations to interface with Windows API functions and/or locally-developed or third-party DLL's, you should be aware that there are several possible issues that can arise when migrating from 32-bit to 64-bit. Of course, these DLL's all need to be 64-bit. There can be issues related to the size of Windows "handles", how structure members are laid out in memory and the effect this can have on structure size. In addition to the excellent migration guide publication that Chris has referenced, you may wish to look in the PB Tech Articles section of the Community web site. Here is a link to one article in particular you may find helpful that is primarily concerned with 32-bit/64-bit differences:

    https://community.appeon.com/index.php/articles-blogs/tutorials-articles/2-powerbuilder/303-interfacing-pb-applications-with-the-windows-api-part-2

I don't know if you have recently upgraded your PFC libraries, but the early versions of the PFC contain objects and methods that have been removed or refactored, and new objects have been added as PB has evolved since the PFC debuted in PB 5, so you may wish to consider upgrading to the newest version of the PFC.

   https://github.com/OpenSourcePFCLibraries

Good luck with your migration project!

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 17 November 2023 12:35 PM UTC
  2. PowerBuilder
  3. # 3
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.