Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-17-2001, 05:40 AM
deleteme deleteme is offline
Member
 
Join Date: Jan 2001
Posts: 33
Default How to make your .exe files smaller than 300k?

I've been searching for this info very long, can anybody tell me what units make it so huge? i know that it is one of these:
- windows
- forms
if i want to make my application (without forms of course) smaller, what can i do?

ruben
Reply With Quote
  #2  
Old 01-17-2001, 06:32 AM
PoseFant PoseFant is offline
Senior Member
 
Join Date: Jan 2001
Posts: 1,002
Default RE: How to make your .exe files smaller than 300k?

This is a lot of work, but you can declare everything you need from the units in your application, also if the application is very big ... create your own Dll files ...

Example :

If you need the DWord type ...

Instead of having the windows unit in your uses clause

Declare it as

Type
DWord = LongWord;

and so on ...


Regards


/Filip
Reply With Quote
  #3  
Old 01-17-2001, 09:50 AM
deleteme deleteme is offline
Member
 
Join Date: Jan 2001
Posts: 33
Default RE: RE: How to make your .exe files smaller than 300k?

Thx, i already tried that, but it takes too much time, especially when you use for example the scktcomp unit, that also uses the windows unit, so i think it is almost impossible, i even had to copy large assembly codes, which also need info from other units etc...

But thanks, my program is now 324k, greetz, Ruben
Reply With Quote
  #4  
Old 01-17-2001, 06:21 PM
digitiger digitiger is offline
Senior Member
 
Join Date: Jan 2001
Posts: 716
Default RE: RE: RE: How to make your .exe files smaller than 300k?

why dont you download aspack component which is availabe on this site too. it not only compresses your exe/dll s but also reduces the chances of it being de-compiled easily.

if your present exe is 324 kb then definately it will reduce it to around 100 - 125 k

though the version of aspack available is for evaluation for 30 days only but that could be broke into. if you need any help for that then you can mail me at digitiger@pcgeek.net
Reply With Quote
  #5  
Old 01-17-2001, 09:23 PM
deleteme deleteme is offline
Member
 
Join Date: Jan 2001
Posts: 33
Default RE: RE: RE: RE: How to make your .exe files smaller than 300k?

If i understand it good, this "aspack" will compress it (like winzip), there must be some performance lost, but i'll try this one,

thanks, ruben
Reply With Quote
  #6  
Old 01-18-2001, 05:55 AM
whatever_ whatever_ is offline
Member
 
Join Date: Jan 2001
Posts: 36
Default RE: RE: RE: RE: RE: How to make your .exe files smaller than 300k?

exe packers are no good
they increase memory need !

there are several articles on the web which give reasons why not to use them.
Reply With Quote
  #7  
Old 01-18-2001, 07:35 AM
douglas douglas is offline
Senior Member
 
Join Date: Jul 2001
Posts: 7,695
Default Where are articles?

I am interested in reading these articles that you mentioned increase memory when using exe packers. Could you give me a URL to read.

Douglas
Reply With Quote
  #8  
Old 01-18-2001, 11:23 PM
deleteme deleteme is offline
Member
 
Join Date: Jan 2001
Posts: 33
Default RE: Where are articles?

yeah me too, i am interested in those articles too

ruben
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 06:31 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.