1. Moises Mescua
  2. PowerBuilder
  3. Thursday, 15 August 2019

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.

Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

Hi Moises;

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

Regards ... Chris

Comment
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. Moises Mescua
  2. Thursday, 15 August 2019
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. Chris Pollach
  2. Thursday, 15 August 2019
There are no comments made yet.
  1. Thursday, 15 August 2019
  2. PowerBuilder
  3. # 1
Moises Mescua Accepted Answer Pending Moderation
0
Votes
Undo

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.
  1. Thursday, 15 August 2019
  2. PowerBuilder
  3. # 2
Juan Alejandro Lam López Accepted Answer Pending Moderation
1
Votes
Undo

Please review the attached documentation.

Attachments (1)
Comment
I got it. Thanks Juan.
  1. Moises Mescua
  2. Thursday, 15 August 2019
It's the /pd switch that you needed to look at.
  1. Susana Domingos
  2. Wednesday, 21 August 2019
There are no comments made yet.
  1. Thursday, 15 August 2019
  2. PowerBuilder
  3. # 3
Roland Smith Accepted Answer Pending Moderation
-2
Votes
Undo

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.
  1. Thursday, 15 August 2019
  2. PowerBuilder
  3. # 4
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.