Article View: borland.public.cppbuilder.nativeapi
Article #7936Exe size and dynamic RTL
From: nicolasr
Date: Thu, 09 Dec 2004 01:39
Date: Thu, 09 Dec 2004 01:39
26 lines
1832 bytes
1832 bytes
Hi, I have one exe that uses a helper exe and a dll. Both the helper exe and the dll are written with plain WinApi because I want to keep them as small as possible. (The dll is for system hooking and the helper exe is placed in the autostart folder as a guard app). Now that I wanted to pack the three files to send them to a colleague I noticed that they are still quite large. I checked "Use dynamic RTL" in all three projects and the files are significiantly smaller 1) In case all my executables use dynamic RTL can I place the RTL dll in the same folder the exes are installed into instead of copying it to system32? 2) I noticed that the RTL dll (cc3260.dll) is about 1.4 MB in size. That is more than all three files together when they each use static RTL. So it would actually not pay off to use dynamic RTL? Is there anything else I can do to keep at least the helper exe/dll small? thanks for any idea, Nick
Technical Details
Message-ID:
<41b7acc1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bd0f78b0b8d3c0c1,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Exe size and dynamic RTL Date: Thu, 9 Dec 2004 02:39:12 +0100 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 80.133.174.71 Message-ID: <41b7acc1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1102556353 80.133.174.71 (8 Dec 2004 17:39:13 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail