1. Mayller Lopez
  2. PowerBuilder
  3. Monday, 17 April 2017 11:53 AM UTC

Hello everyone,

Im currently using PB 12.6 and deployed my app in 64bit as per my client requirement. My question is after deploying the whole application and if I modified one of the library do I need to re-deploy again it in 64bit or I can use incremental build for the modified library?

Olan Knight Accepted Answer Pending Moderation
  1. Monday, 17 April 2017 14:14 PM UTC
  2. PowerBuilder
  3. # 1

1.  Just do an incremental build in the 64-bit development mode, then update the client PBD.

2.  A question for you: does your code use the PFC?

Olan

Comment
There are no comments made yet.
Chris Pollach Accepted Answer Pending Moderation
  1. Monday, 17 April 2017 16:13 PM UTC
  2. PowerBuilder
  3. # 2

Hi Mayller;

   That is a great question! The answer is two fold and Olan's answer is perfect ... as long as you are making simple changes to the "concrete" layer of your application.

   However, when making changes to the "abstract" or "base" level ancestors, you have to be careful when adding or removing instance variables. These items change the way memory address pointers are calculated. PB generates C++ code that uses "base + off-set" to get to a PB variable's address. So by adding or removing instance variables, the "base+ offset" calculations can derive an invalid address for a PB instance variables.

  So my recommendation is to proceed with some caution on concrete level incremental PBD builds (which should be OK) but where ancestor instance variable changes are encountered, perform a full build on all PBD's to be on the safe side.

HTH

Regards ... Chris

Appeon: Director, Developer Relations.

Comment
  1. Mayller Lopez
  2. Tuesday, 18 April 2017 10:14 AM UTC
Thanks for the advice Chris, my changes was in menu navigation of the application. So I guess incremental build would be fine. As mentioned by Roland incremental build is identical for 32/64bit, that would be fine. Thanks everyone.

  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 17 April 2017 16:28 PM UTC
  2. PowerBuilder
  3. # 3

I helped Yakov Werde test 64bit on his app (129 libraries & 19,000 objects) and the conclusion we came to was that the PBD files were identical between 32bit/64bit. Only the .exe file is different.

You do have the same issue to watch for that you did in 32bit: if a changed object is referred to by an object in a different library, you likely would have to create a new PBD for that library as well

Comment
  1. Olan Knight
  2. Tuesday, 18 April 2017 14:16 PM UTC
That's superb information about the 32/64 bit PBDs being identical! Thank you!

  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.