1. Moises Mescua
  2. PowerBuilder
  3. Thursday, 15 August 2019 16:54 PM UTC

Hi Appeon Community,

I want to create a EXE file without PBD or DLL files using PowerBuilder Compiler (PBC). Should be changed any parameter from command line? or should be modified the PBT file? if so, which parameter or value?.

Thank you for your help.

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 15 August 2019 17:26 PM UTC
  2. PowerBuilder
  3. # Permalink

Make a Project object in the IDE first with the PBD columns unchecked on the Libraries tab. The PBC parms on the first tab should then be what you need. If not, there is a bug in the painter or PBC itself.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 15 August 2019 19:58 PM UTC
  2. PowerBuilder
  3. # 1

Hi Moises;

  The key will be to create a PBR file that links all the PB objects into the one EXE. 

Regards ... Chris

Comment
  1. Moises Mescua
  2. Thursday, 15 August 2019 20:34 PM UTC
Hi Chris,

Once created the PBR file that links all the PB objects, do you know how I can setup the PBC to create the EXE file only without PBDs? Thanks Chris.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 15 August 2019 20:41 PM UTC
Yes, the PBC has issues when using a PBR. There are open tickets on this already in the support system.

FYI: https://community.appeon.com/index.php/qna/q-a/pbc-autocompiler-the-pbr-resource-file-icons-not-showing

  1. Helpful
There are no comments made yet.
Moises Mescua Accepted Answer Pending Moderation
  1. Thursday, 15 August 2019 19:14 PM UTC
  2. PowerBuilder
  3. # 2

Hi Roland,

This is the PBC parms on the first tab with PBD columns checked:

/d "C:\Work\Apps-local\collect.pbt" /o "C:\Work\Apps-local\collect.exe" /r "C:\Work\Apps-local\collect.pbr" /w n /f /m n /x 32 /bg y /p "Collect" /cp "MJ" /de "Collect Updated Application" /v "1.0.0.0" /vn "1.0.0.1" /fv "1.0.0.0" /fvn "1.0.0.1" /ge 0

And, the PBC parms on the first tab with PBD columns unchecked:

/d "C:\Work\Apps-local\collect.pbt" /o "C:\Work\Apps-local\collect.exe" /r "C:\Work\Apps-local\collect.pbr" /w n /f /m n /x 32 /bg y /p "Collect" /cp "MJ" /de "Collect Updated Application" /v "1.0.0.0" /vn "1.0.0.1" /fv "1.0.0.0" /fvn "1.0.0.1" /ge 0

It looks the same, is there a bug in the painter?, how we can solve this issue?


Thanks Roland,

 

 

Comment
There are no comments made yet.
Juan Alejandro Lam López Accepted Answer Pending Moderation
  1. Thursday, 15 August 2019 17:30 PM UTC
  2. PowerBuilder
  3. # 3

Please review the attached documentation.

Attachments (1)
Comment
  1. Moises Mescua
  2. Thursday, 15 August 2019 19:16 PM UTC
I got it. Thanks Juan.
  1. Helpful
  1. Susana Domingos
  2. Wednesday, 21 August 2019 07:57 AM UTC
It's the /pd switch that you needed to look at.
  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.