Page 1 of 1

executable size

Posted: Sat Aug 04, 2007 4:46 pm
by teofilo
I've instaled TRichView 1.9.43.1 since earlier version (almost 1 year older) and I've notice that the .exe size is incremented in 1.5MB. When I include rvActions the size up to 3.1MB. I believe that older versions was only 0.5MB for the TRichView code. (I didn't use rvActions until now).

Is it ok this size or have I a mistake in the instalation?

My compiler is C++Builder 6.


Many thanks

Teofilo Fernandez

Posted: Sun Aug 05, 2007 9:07 am
by Sergey Tkachenko
Make sure that you turned optimization on and excluded debug info.

You can exclude some TRichView features that you do not use, see RV_Defs.inc (of course, source code version is required for this). But if you use RichViewActions, you cannot exclude the most of these features.

You can remove unnecessary localizations from RichViewActions code to reduce exe size.
Open RVALocalize.pas, and remove some language files from "uses".

What's all. Yes, new version of TRichView has more features and increases exe size more noticeably.

Posted: Mon Aug 06, 2007 5:22 am
by teofilo
Thanks, I wanted only to know if there was normal the increment of the exe size.

Teofilo