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
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?
- Miguel Leeuwe
- Wednesday, 21 July 2021 21:33 PM UTC
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.
- Miguel Leeuwe
- Thursday, 22 July 2021 12:37 PM UTC
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.
Exe with no runtime requirement will still be a better one.... Like the one that we get from VB.
Can you be more detailed about "not working"?
Regards ... Chris
- Olan Knight
- Wednesday, 21 July 2021 17:37 PM UTC
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.
- Page :
However, you are not allowed to reply to this question.