Article View: borland.public.cppbuilder.nativeapi
Article #8896Re: The Most Compressed
From: Jeff Kish
Date: Tue, 31 Aug 2004 00:32
Date: Tue, 31 Aug 2004 00:32
35 lines
2066 bytes
2066 bytes
On Mon, 30 Aug 2004 21:11:47 +0430, "Pedram" <nover@hever.sever>
wrote:
>You Mean www.aspack.com? :-)
>
>anyway ...
>My Hello World sample that is like below :
> #include <windows.h>
> #include "dialogs.hpp"
> #pragma hdrstop
> #pragma argsused
> WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR
>lpCmdLine, int nCmdShow)
> {
> ShowMessage("This is a Hello World!");
> return 0;
> }
>has 12288 bytes lenght when I dont attach any RTL
>if I attach RTLs , (RunTimePachage and Dynamic RTL) it wont compile becasue
>there is VCL components/RTLs I think.
>Then when I only arrach Dynamic RTLs it becomes : 51712
>
>I personally think , It is possible to make a 1 Kilobytes exe file to do a
>very simple job like Hello World !!
>What you peoples think? thx for your attentions.
>
>and ASPACK make it 31744 bytes :-? good work for aspack :-)
>
>any more idea?
>
>
>
no. sorry. aspack was my solution to shrink bloated exe's.
I had problems making it work on dlls however.
You may need to use other compilers to make smaller executables...
Technical Details
Message-ID:
<lnh7j09tgap87t7u8edf7eq40ilivcsdi4@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.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-mailReferences:
<4130d6c2@newsgroups.borland.com> <4505j0d7fmr3dbl9fpabplhbpvv0gg50i5@4ax.com> <4133585a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8f88fecd49aea605 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Jeff Kish <kishjjrjj@provide.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: The Most Compressed Date: Mon, 30 Aug 2004 20:32:43 -0400 Message-ID: <lnh7j09tgap87t7u8edf7eq40ilivcsdi4@4ax.com> References: <4130d6c2@newsgroups.borland.com> <4505j0d7fmr3dbl9fpabplhbpvv0gg50i5@4ax.com> <4133585a@newsgroups.borland.com> X-Newsreader: Forte Agent 2.0/32.646 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.86.91.179 X-Trace: newsgroups.borland.com 1093912578 216.86.91.179 (30 Aug 2004 17:36:18 -0700) Lines: 35 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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