Dear All ,
As the Application development in progress for each build the .EXE size is increasing now it reaches 12MB almost and in the future expected size of the .EXE size would be 18MB (max).
Is it fine or I should create .DLL ? Please guide on this.
Thanks
Shridhar
What should be maximum size .EXE ideally ?
What should be maximum size .EXE ideally ?
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Re: What should be maximum size .EXE ideally ?
My principal exe file is 25 Mb size. All is right.
I think what dlls code could be a hell.
I think what dlls code could be a hell.
Re: What should be maximum size .EXE ideally ?
After I started use HRB files, my main EXE stopped in 8mb and we have more than 400 modules in our system. I only keep in the EXE the main modules, the majority is save as a HRB files.
Re: What should be maximum size .EXE ideally ?
Hi Vilian ,
I never tried HRB files , could you please provide build script to generate HRB files. Thanks in advance...!
Thanks
Shridhar
I never tried HRB files , could you please provide build script to generate HRB files. Thanks in advance...!
Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Re: What should be maximum size .EXE ideally ?
Shridhar,
To generate a hrb from a prg file you must use /gh with harbour.
( rest of the keys - /n /w, ... as usual, if necessary )
To generate a hrb from a prg file you must use /gh with harbour.
Code: Select all
harbour.exe my.prg /gh
Re: What should be maximum size .EXE ideally ?
Hi Vilian ,
Can we bundled *.PRG ( multiple .PRG files) into one .HRB file ?
Thanks
Shridhar
Can we bundled *.PRG ( multiple .PRG files) into one .HRB file ?
Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Re: What should be maximum size .EXE ideally ?
I use as HRB files the modules minus used in my system.
Re: What should be maximum size .EXE ideally ?
Hi Vilian ,
Could you please elaborate as I did not understand. Thanks in advance...!
As we know/remember in Clipper we used to create .OVL file (overlay) from multiple .PRG files. I am assuming the same with HRB. Please correct me if am wrong.
Thanks
Shridhar
Could you please elaborate as I did not understand. Thanks in advance...!
As we know/remember in Clipper we used to create .OVL file (overlay) from multiple .PRG files. I am assuming the same with HRB. Please correct me if am wrong.
Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Re: What should be maximum size .EXE ideally ?
Shridhar,
I choose the modules are most used or those are more importante in my system and the executable of my system include them. The executable is generated as any other.
The module minus used or minus importante are compiled as HRB (using harbour /gh) and run using the function Hb_HrbLoad/Hb_HrbGetFunSym without any impact in the exe.
In my system, as I say before, I have more than 400 modules, but only 22 make part of the EXE, all of the rest are HRB files.
I choose the modules are most used or those are more importante in my system and the executable of my system include them. The executable is generated as any other.
The module minus used or minus importante are compiled as HRB (using harbour /gh) and run using the function Hb_HrbLoad/Hb_HrbGetFunSym without any impact in the exe.
In my system, as I say before, I have more than 400 modules, but only 22 make part of the EXE, all of the rest are HRB files.
Re: What should be maximum size .EXE ideally ?
Hi Vilian ,
Many thanks for this info.
May I request to post some sample script to generate both .EXE and .HRB. Thanks in advance ...!
Thanks
Shridhar
Many thanks for this info.
May I request to post some sample script to generate both .EXE and .HRB. Thanks in advance ...!
Thanks
Shridhar
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB