1. Fabien PINON
  2. PowerBuilder
  3. Friday, 3 April 2020 08:24 AM UTC

I've to migrate my apps from PowerBuilder 12.5 to PowerBuilder 2019.

Some DLL needed are common for these 2 versions : libjcc, lbjutils, ...

How can I install the 2 versions of my apps (PB 12.5 and PB2019) on the same directory ?

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 3 April 2020 15:12 PM UTC
  2. PowerBuilder
  3. # 1

Hi Fabien;

  FWIW: Here is what I do  ....

1) Install each PB run-time in its own folder on the deployment machine.

2) Always start the PB App(s) from a BAT file

3) In the BAT file, add the folder of the corresponding "PB Run-time" to the System Path. Then start the EXE.

Note that in using the above execution approach via a BAT file, the System Path is now local and unique to each EXE execution. Upon a BAT file start, the O/S copies the current System Path to the local address space. Then the BAT file System Path modification takes affect locally to that address space. Now the App can locate the PB DLL's on the correct & exact version. After the App completes, the local address's System Path is discarded leaving the O/S's "master" copy intact.

Thus for example, AppA can be PB2017, AppB can be PB2019, AppC can be PB2019R2, etc based - with no run-time DLL conflicts on the same machine.

Food for thought. HTH

Regards ... Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 3 April 2020 11:22 AM UTC
  2. PowerBuilder
  3. # 2

The DLL files with common names are interchangeable. Here is a comparison of libjcc.dll between my Sybase and Appeon folders:

Sybase:
Date 2/18/2008 - Version 5.3.0.16

Appeon:
Date 12/30/2019 - Version 5.3.0.16

 

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 3 April 2020 14:51 PM UTC
There is no guarantee of this.
  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.
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.