PB2019R3, b2703
Windows 10, 64 bit platform
In PBv12.1, if you UN-check the PBLs on the Libraries tabpage of the Project file, all the code compiles into a single EXE.
This is not working in PB2019R3 b2703.
Can it be made to work? I.e. am I doing something wrong?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This works in PBv12.1 b7055
Thank You,
Olan
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- I want an EXE with no PDBs or DLLs
- Olan Knight
- PowerBuilder
- Monday, 19 July 2021 20:50 PM UTC
- Monday, 19 July 2021 21:31 PM UTC
- PowerBuilder
- # 1
Hi Olan;
Can you be more detailed about "not working"?
Regards ... Chris
- Tuesday, 20 July 2021 05:30 AM UTC
- PowerBuilder
- # 2
Exe with no runtime requirement will still be a better one.... Like the one that we get from VB.
Comment
- Miguel Leeuwe
- Wednesday, 21 July 2021 21:35 PM UTC
Ha, I get it Sivaprakash. VB 6 didn't need the .net framework.
-
Helpful Loading... Helpful 0
- Sivaprakash BKR
- Thursday, 22 July 2021 05:54 AM UTC
Olan,
To run the exe created with Powerbuilder, without Powerbuilder runtime files (as we get exe in VB 6 that could be run without any VB runtime(s). )
To run the exe created with Powerbuilder, without Powerbuilder runtime files (as we get exe in VB 6 that could be run without any VB runtime(s). )
-
Helpful Loading... Helpful 0
- Roland Smith
- Thursday, 22 July 2021 12:44 PM UTC
VB6 has a runtime DLL.
-
Helpful Loading... Helpful 0
There are no comments made yet.
- Tuesday, 20 July 2021 14:42 PM UTC
- PowerBuilder
- # 3
Hi Olan,
Running the same version as you are. No problem at all, the EXE is generated without any PBD or DLL files.
Did you save the project before doing the deploy?
regards
Comment
- Olan Knight
- Wednesday, 21 July 2021 17:34 PM UTC
I did a FULL BUILD before doing the DEPLOY.
The end result is a 32K executable, when the size should be closer to 16K.
The end result is a 32K executable, when the size should be closer to 16K.
-
Helpful Loading... Helpful 0
- Miguel Leeuwe
- Wednesday, 21 July 2021 21:33 PM UTC
Hi Olan, with "Deploy" I mean, right mouse click on the target and choosing "Deploy". Beware that if you have more than one project, it might use any project you don't want. In that case you'll just have to open up the project and click on the icon to deploy.
Why is it bad that the executable is bigger when you don't generate PBDs? You said it yourself: " if you UN-check the PBLs on the Libraries tabpage of the Project file, all the code compiles into a single EXE."
This logically means that the exe will be bigger if you don't generate pbd files.
Maybe I'm not understanding what's going on.
regards
Why is it bad that the executable is bigger when you don't generate PBDs? You said it yourself: " if you UN-check the PBLs on the Libraries tabpage of the Project file, all the code compiles into a single EXE."
This logically means that the exe will be bigger if you don't generate pbd files.
Maybe I'm not understanding what's going on.
regards
-
Helpful Loading... Helpful 0
- Miguel Leeuwe
- Thursday, 22 July 2021 12:37 PM UTC
Hmm I think you have a typo when you say 32K vs. 16K? Did you mean 16,000 K?
If the executable doesn't work, but does compile without warnings, most likely you are missing some dynamically assigned datastores or datawindows and/or dynamically created / opened user object usertabs. search on "Create using some_string_variable" and OpenTab() and openuserobject() and opentabwithparm and openuserobjectwithparm.
If the executable doesn't work, but does compile without warnings, most likely you are missing some dynamically assigned datastores or datawindows and/or dynamically created / opened user object usertabs. search on "Create using some_string_variable" and OpenTab() and openuserobject() and opentabwithparm and openuserobjectwithparm.
-
Helpful Loading... Helpful 0
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.
However, you are not allowed to reply to this question.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »
Yes there is a PBR file, hope Olan would have included the required dw names' in it.
An EXE is generated, but the size of the executable file is 32KB when it should be 5 to 10 times that size.
In PBv12.1, nearly the same code creates an EXE of 15,483KB.
I try the 32KB exe anyway, tand the utility fails to even open.