Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Application with Delphi 2006 and RB10.01 is much more bigger than with Delphi 7 and RB9.03

edited March 2006 in General
Hi

Memorysize issues when generating an application with only one form, a
TButton- and a TMemo-component on it:

D7 / RB9.03: 379 kB
D2006 / RB10.01: 401 kB

same application with a TppReport-component on it:

D7 / RB9.03: 1388 kB
D2006 / RB10.01: 1917 kB

Difference approximately 500 kb !!!

same application plus a TppDesigner-component on it:

D7 / RB9.03: 2499 kB
D2006 / RB10.01: 3415 kB

Difference approximately 900 kb !!!

Can anyone explain me why an application generated with Delphi 2006 and
RB10.01 is so much bigger then a Delphi7/RB9.03 compiled one?

Regards
Robert

Comments

  • edited March 2006
    what you don't show is what the app would be in D7 & RB 10.01. I am not sure
    how much overhead D2006 adds to the EXE.

    Ed Dressel
    Team DM
  • edited March 2006

    1. The RB PDF export is now included by default. (Probably 190k or so).

    2. The UI classes (toolbar classes, menu classes, icons, etc) that we are
    using to produce the new XP interface (Probably 1 MB). Some of the Toolbar
    classes are used by the report previewer, so that adds overhead to any
    TppReport application. (In other words it's not isolated to the report
    designer).

    3. New RAP code editor (if you are building an end-user designer app with
    RAP).

    Keep in mind that once the classes are linked to your application - that is
    a one time thing. If you add a second report, those classes do not get
    linked into the application again. In general, additional reports that you
    include will add very incremental overhead. If you store the report
    definitions outside the .exe, they add no additional overhead.

    Our goal with ReportBuilder is to deliver a powerful, professional reporting
    solution. The end result is that we have something that I can compare to MS
    Office or with any reporting solution available. That is our goal. Our goal
    is not to have the smallest footprint on the market. However, for what
    ReportBuilder delivers and given today's standards for application size, I
    think RB has a very small footprint.

    I do wish that the Delphi VCL included an updated set of UI classes...




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2006
    Hi Ed and Nard

    Thanks for the info.

    For me it's not a problem when the application size getting bigger. For our
    customers... that's an other question.
    But i was only wondering about the difference between the old project
    (Delphi7) and the new on (Delphi 2006).

    Is there a way to exclude the pdf export and xp-themes so the application
    size could be smaller?

    Regards
    Robert
  • edited March 2006

    No.


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.