1. Stephan Daschek
  2. PowerBuilder
  3. Monday, 29 April 2024 10:01 AM UTC

Hi,

I've installed PowerBuilder 2022 R2 build 1892 with all features. I had already installed PowerBuilder 2022 build 1878 before.

When i convert an pbx2pbd with C:\Program Files (x86)\Appeon\PowerBuilder 22.0\IDE\pbx2pbd220.exe, the pbd have the wrong Version of PBD Version:22.0.0.1878. (path:C:\dev\lib.pbd).

My colleague installed only PowerBuilder 2022 R2 build 1892 and it works with the version ...1892

Can someone tell me what the problem is here?

Stephan Daschek Accepted Answer Pending Moderation
  1. Monday, 29 April 2024 13:13 PM UTC
  2. PowerBuilder
  3. # 1

After installing 1892, did you run the PB IDE and choose 1892 as the current build?

I prefer this method:

  • Add a new library to the target that is named after the .pbx
  • Right click on the library and choose Import Extension
  • Select the .pbx

Now you have all the interface objects in a library that will have a .pbd generated at the same time you build the target so it will always be in sync.

Thanks for your reply. I know this way and used it for example by pbdom.pbx.

I don't remember if I set the current build or had to set it. Is it possible to set the current build again?

Comment
  1. Roland Smith
  2. Monday, 29 April 2024 14:50 PM UTC
If pbx2pbd220.exe is using the wrong build, that would be a bug and should be reported here: https://www.appeon.com/standardsupport/search.

How do you know it is the wrong build? A PBD file doesn't have version info like a DLL. A PBD file is the same as a PBL except it only has the code version of objects. A PBL has source and code versions and they are stored separately.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 29 April 2024 15:40 PM UTC
Hi Roland;

FYI: Yes it does in PB 2022 R3. You can see it listed in the IDE's output pane during a build. ;-)

Regards ... Chris
  1. Helpful
  1. Stephan Daschek
  2. Tuesday, 30 April 2024 04:46 AM UTC
PowerBuilder 2022 R2 Build 2819 shows me that the PBD I created by pbx2pbd220.exe has the version 22.0.0.1878.

The correct version 22.1.0.28.19 is already stored under the menu item “tools menu”.



So should I start a bug report for this?

  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 29 April 2024 12:46 PM UTC
  2. PowerBuilder
  3. # 2

After installing 1892, did you run the PB IDE and choose 1892 as the current build?

I prefer this method:

  • Add a new library to the target that is named after the .pbx
  • Right click on the library and choose Import Extension
  • Select the .pbx

Now you have all the interface objects in a library that will have a .pbd generated at the same time you build the target so it will always be in sync.

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.