Thread View: comp.lang.pascal.delphi.misc
7 messages
7 total messages
Started by Pavel A.
Wed, 08 Sep 1999 00:00
Reducing size of EXE D4->D3
Author: Pavel A.
Date: Wed, 08 Sep 1999 00:00
Date: Wed, 08 Sep 1999 00:00
19 lines
1346 bytes
1346 bytes
Sorry if the question is too stupid - I don't use Delphi often... I have some apps written under D3. After rebuilding them in D4, the size of exe files grew by approx. 100 kb. I'd like to use D4 for development, but can't afford swelling of the exe files. Using runtime packages is not an option, each program must be a standalone exe file. Is it possible to reduce the size of D4 runtime at least to the size of D3? My apps do not use new components added in D4, Internet, advanced graphics and database stuff. Can anyone kindly teach me how to do it? --PA Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
Re: Reducing size of EXE D4->D3
Author: Jud McCranie
Date: Wed, 08 Sep 1999 00:00
Date: Wed, 08 Sep 1999 00:00
11 lines
1041 bytes
1041 bytes
Pavel A. <pavela@my-deja.com> wrote: >Is it possible to reduce the size of D4 runtime at least to >the size of D3? Make sure the program option/compiler/optimization is on. That reduces the size some. (It is on by default.) But 100KB in the EXE doesn't seem like it would matter much.] Jud McCranie
Re: Reducing size of EXE D4->D3
Author: Michael Winter
Date: Thu, 09 Sep 1999 00:00
Date: Thu, 09 Sep 1999 00:00
13 lines
1145 bytes
1145 bytes
Marko wrote: > > Get rid of all nonused functions in your > uses clause. This should get rid of any > excess code baggage. > > Mark Mark(o), USES causes the compiler to use units at compile time. Unused code will is finally removed by the linker. Removing units from the USES clause by hand has nearly no effect. -Michael
Re: Reducing size of EXE D4->D3
Author: Marko
Date: Thu, 09 Sep 1999 00:00
Date: Thu, 09 Sep 1999 00:00
41 lines
1516 bytes
1516 bytes
Get rid of all nonused functions in your uses clause. This should get rid of any excess code baggage. Mark -------------------------- mark@godex.com Pavel A. wrote in message <7r6ktu$4o2$1@nnrp1.deja.com>... |Sorry if the question is too stupid - I don't use Delphi often... | |I have some apps written under D3. After rebuilding them |in D4, the size of exe files grew by approx. 100 kb. |I'd like to use D4 for development, but can't afford swelling of |the exe files. Using runtime packages is not an option, each program |must be a standalone exe file. | |Is it possible to reduce the size of D4 runtime at least to |the size of D3? My apps do not use new components added in D4, |Internet, advanced graphics and database stuff. | |Can anyone kindly teach me how to do it? | |--PA | | |Sent via Deja.com http://www.deja.com/ |Share what you know. Learn what you don't.
Re: Reducing size of EXE D4->D3
Author: Berend Veldkamp
Date: Thu, 09 Sep 1999 00:00
Date: Thu, 09 Sep 1999 00:00
27 lines
1666 bytes
1666 bytes
look at: http://www.jordanr.dhs.org/striprlc.htm i haven't tested this myself, so i don't know how much the reduction in filesize is "Pavel A." wrote: > Sorry if the question is too stupid - I don't use Delphi often... > > I have some apps written under D3. After rebuilding them > in D4, the size of exe files grew by approx. 100 kb. > I'd like to use D4 for development, but can't afford swelling of > the exe files. Using runtime packages is not an option, each program > must be a standalone exe file. > > Is it possible to reduce the size of D4 runtime at least to > the size of D3? My apps do not use new components added in D4, > Internet, advanced graphics and database stuff. > > Can anyone kindly teach me how to do it? > > --PA > > Sent via Deja.com http://www.deja.com/ > Share what you know. Learn what you don't. --
Re: Reducing size of EXE D4->D3
Author: Mike Best
Date: Fri, 10 Sep 1999 00:00
Date: Fri, 10 Sep 1999 00:00
34 lines
1984 bytes
1984 bytes
I use a product called Shrinker from Blinlinc (www.blinkinc.com) which reduces the size of my *.exe files by about 50%. It can be used on any *.exe or *.dll file not only those created in Delphi so you can use it to reduce space on your hard drive as well. I have found this to be an excellent product. I believe there may be other shareware or freeware products around that do a similar job. Mike Best -- Mike Best Programming Brisbane Australia Pavel A. wrote in message <7r6ktu$4o2$1@nnrp1.deja.com>... >Sorry if the question is too stupid - I don't use Delphi often... > >I have some apps written under D3. After rebuilding them >in D4, the size of exe files grew by approx. 100 kb. >I'd like to use D4 for development, but can't afford swelling of >the exe files. Using runtime packages is not an option, each program >must be a standalone exe file. > >Is it possible to reduce the size of D4 runtime at least to >the size of D3? My apps do not use new components added in D4, >Internet, advanced graphics and database stuff. > >Can anyone kindly teach me how to do it? > >--PA > > >Sent via Deja.com http://www.deja.com/ >Share what you know. Learn what you don't.
Re: Reducing size of EXE D4->D3
Author: The African Chief
Date: Fri, 10 Sep 1999 00:00
Date: Fri, 10 Sep 1999 00:00
27 lines
1693 bytes
1693 bytes
In article <%2WB3.14530$ei1.29233@newsfeeds.bigpond.com>
"Mike Best" <lindat@bigpond.com.au> wrote:
> I use a product called Shrinker from Blinlinc (www.blinkinc.com) which
> reduces the size of my *.exe files by about 50%. It can be used on any *.exe
> or *.dll file not only those created in Delphi so you can use it to reduce
> space on your hard drive as well.
> I have found this to be an excellent product.
>
> I believe there may be other shareware or freeware products around that do a
> similar job.
1. Aspack (shareware)
2. WWPack32 (shareware)
3. UPX (freeware)
They all do a pretty good job compressing Win32 binaries. UPX has
the advantage of being able to compress Dos and Linux binaries
as well.
Best regards, The Chief
--------------
Dr A Olowofoyeku (The African Chief)
Email: laa12@keele.ac.uk
Homepage: http://ourworld.compuserve.com/homepages/African_Chief/
Author of Chief's Installer Pro v5.20a for Win32
ftp://ftp.simtel.net/pub/simtelnet/win95/install/chief52a.zip
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads