RB 5.0 to 6.03 Issue
Hi,
I finally upgraded this weekend from RB Pro 5.0 to 6.03. I also updated
TExtraDevices at the same time. I was really surprised to see my EXE
jump by approx. 900K. Would moving from 5.0 to 6.03 cause this. I don't
think I made any other significant changes to the app before noticing the
large increase in the EXE size.
Thanks,
Dexter
I finally upgraded this weekend from RB Pro 5.0 to 6.03. I also updated
TExtraDevices at the same time. I was really surprised to see my EXE
jump by approx. 900K. Would moving from 5.0 to 6.03 cause this. I don't
think I made any other significant changes to the app before noticing the
large increase in the EXE size.
Thanks,
Dexter
This discussion has been closed.
Comments
in your footprint. Are there more reports stored in your exe by chance?
Did you upgrade to RB 6.03 Pro or Enterprise? RB Enterprise includes RAP,
which is the only feature not available in Pro.
-------------------------------------------
Article: Minimize Size of Application .EXE
-------------------------------------------
How can I minimize the size of my application
executable (.exe) when using ReportBuilder?
1. Part of the overhead is linking in the BDE library.
Probably about 300K or so.
2. Part of the overhead is linking the RB library.
Probably about 600K or so for the core reporting library.
If you include the Designer, Query Tools, etc. then
there will be additional overhead.
3. Any additional overhead will be added by the reports you create. Each
report will contain description of all the objects on the report. View
the .dfm file as text for an example.
Strategies to minimize the size of the .Exe:
1. Compile your project using the Delphi run-time packages option. This
will create a small .exe. You then distribute the
runtime packages along with your executable file.
2. Store you report definitions to .rtm files or a database. Thus the
report definitions are stored outside the .exe and only loaded as
needed. If you have a large number of reports, this can drastically
reduce the size of the .exe.
3. Compile all of your reports into a Delphi package.
Then your application only loads the package as needed.
--
Tech Support mailto:support@digital-metaphors.com
Digital Metaphors http://www.digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
All of my reports are compiled into the EXE but I did not add any new
ones after I upgraded. I am using RB Pro.
Thanks,
Dexter
I checked my .MAP file on my current development PC and a backup of my
app that has RB Pro 5.0 still installed. When looking at the Bound
resource files section I see many more entries in the system with 6.03.
The 5.0 system has the following DFM files linked in:
ppASDlg, ppPDlg, ppCDlg, ppTmDlg, ppTmEDlg, ppPrvDlg
The 6.03 system has those plus:
ppNoDataDlg, ppRWzDlg, rbIDE.res, ppIDEBmp.res, daJoinTableDlg, ppRichEd,
ppPgSDlg, ppTxtDlg, ppGrpDlg, ppFmtDlg, ppGrdDlg, ppAbout, ppMemDlg,
ppClcDlg, ppRstDlg, ppShfDlg, ppDemo... many others .
I admit I normally do not browse this file very often but it looks
suspicious with so many additional files showing up in the .MAP file.
Thanks for any feedback,
Dexter