1. Sly B
  2. PowerBuilder
  3. Thursday, 13 June 2019

Hi All,

We wrote a script to compile our apps with PBC170.exe which is working good except for resources (bmp,png,ico).

Each PBL of the apps have their own PBD for resources. We notice that resources contained in the main PBR are the only one included in the compiled application.  While this is not the case if we compile directly in IDE.
We also noticed that if resources are all in the same PBR associated in the command line de PBC170.exe, the executable file includes all the resources (and this is a normal things).
Our conclusion is that compilation with PBR170.exe does not take care of the PBRs associated to the PBLs listed in the target file.
Compilations are made on the same machine.
Is that a known issue? Or something that we have missed ?


We are using PB17 R3.

Here is the command line :

pbc170.exe /d "C:\Sources\myapp\myapp.pbt" /o "C:\Sources\myapp\myapp.exe" /r "C:\Sources\myapp\myapp.pbr" /w n /f /m n /x 32 /bg y /p "MyApp" /cp "MyCompany" /de "BlaBla" /cr "2019 - MyCompany" /v "17,3,1,40" /vn "17.3.1.40" /fv "17,3,1,40" /fvn "17.3.1.40" /ge 0

 

Best regards,

Sly

René Ullrich Accepted Answer Pending Moderation
1
Votes
Undo

Hi Sly,

PBC can only include ressources into the exe file. You can only specify one PBR file in the command line. There is no way to specifiy the PBR files for each PBD. This is a know limitation.

HTH,

René

Comment
Hi René,



I clearly made a confusion with the PBT and the project.... There is no PBR in the PBT. The association is made within the project... So, yes, it's a normal behaviour!

Thanks for your help!



Sly
  1. Sylvain BOESSINGER
  2. Thursday, 13 June 2019
There are no comments made yet.
  1. Thursday, 13 June 2019
  2. PowerBuilder
  3. # 1
  • 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. Learn More