executable size

General TRichView support forum. Please post your questions here
Post Reply
teofilo
Posts: 2
Joined: Thu Sep 22, 2005 8:59 am

executable size

Post 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
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Last edited by Sergey Tkachenko on Tue Aug 07, 2007 7:06 pm, edited 1 time in total.
teofilo
Posts: 2
Joined: Thu Sep 22, 2005 8:59 am

Post by teofilo »

Thanks, I wanted only to know if there was normal the increment of the exe size.

Teofilo
Post Reply