🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7952

Re: Exe size and dynamic RTL

#7952
From: nicolasr
Date: Thu, 09 Dec 2004 13:19
26 lines
1913 bytes
thanks Ed.

> Then make your own DLL which contains only those
> items.

Can you give me a few hints on how to do this? Where
do I find the necessary source files?

>
> One thing you have not mentioned.
>
> If this is pure Win32 API code and does not use new/delete
> or classes then you don't need Runtime Type ID (RTTI) or
> Exception Handling (EH).  If so then add -RT- -x- to the
> compiler options and add noeh32.lib to the library list
> (if working form the command line, put it BEFORE the
> cw*.lib rtl library).  This should make your executables
> even smaller.

Actually I use stl exceptions, but only a few. So I could probably
rewrite the code to not use any exceptions. However, I have two
classes which are instantiated in automatic memory, not with 'new'.
Would your solution still work in this case?

thanks
Nick
Technical Details
Message-ID: <41b850f4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41b7acc1@newsgroups.borland.com> <41b7b156$3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bd0f78b0b8d3c0c1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41b7acc1@newsgroups.borland.com> <41b7b156$3@newsgroups.borland.com>
Subject: Re: Exe size and dynamic RTL
Date: Thu, 9 Dec 2004 14:19:46 +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.160.104
Message-ID: <41b850f4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102598388 80.133.160.104 (9 Dec 2004 05:19:48 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail