1. Sly B
  2. PowerBuilder
  3. Thursday, 13 June 2019 09:08 AM UTC

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 "" /fv "17,3,1,40" /fvn "" /ge 0


Best regards,


René Ullrich Accepted Answer Pending Moderation
  1. Thursday, 13 June 2019 10:16 AM UTC
  2. PowerBuilder
  3. # 1

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.



  1. Sylvain BOESSINGER
  2. Thursday, 13 June 2019 14:16 PM UTC
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!

  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.