Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.10.16;
Скачать: CL | DM;

Вниз

Размер файла больше   Найти похожие ветки 

 
NorthMan   (2005-02-18 09:06) [0]

Господа, почему увеличивается размер файла при компиляции примера для модальной формы? В примере exe-шник 11Kb, я компилю, получаю 28Kb. Вроде в опциях проекта прописал пути ко всем модулям для KOL.


 
thaddy   (2005-02-18 09:26) [1]

Did you use the system replacement units? (sysdcu)
For D3-D7 there are system replacement units that you need to be able to obtain exe size


 
NorthMan   (2005-02-18 11:02) [2]

Все сделал так, как в описании к архиву sysdcud6, размер вроде уменьшился, но все равно больше, чем в примере...


 
ECM ©   (2005-02-18 11:18) [3]

DemoModalForm.exe (11264) - упакован UPX-ом ...
Если его распаковать, он будет иметь размер 16896.


 
thaddy   (2005-02-18 11:22) [4]

Is the example packed with UPX? or another exe packer?
A plain do-nothing form should be ~14K with system replacements and ~12K after stripreloc.

This example should be ~14K, ~12K with relocation stripped ~8K packed.

program plain;
uses
windows, kol;
begin
 Applet:=Newform(nil,'Plain');
 Run(Applet);
end.


 
Vladimyr ©   (2005-02-18 20:25) [5]

It"s possible to get ".exe" as small as 5k on the pure API :)


 
thaddy   (2005-02-18 21:13) [6]

Yup, but not in small number of lines :)
Btw: system replacements work OK too with plain API. And shrink exe. Not many people realize that...



Страницы: 1 вся ветка

Текущий архив: 2005.10.16;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.061 c
2-1127134150
Fantasy
2005-09-19 16:49
2005.10.16
Сервис HELP


2-1127113142
CW014
2005-09-19 10:59
2005.10.16
массив из классов TStrings


2-1125984829
voyage_rost
2005-09-06 09:33
2005.10.16
базы данных


2-1126083422
Suriken
2005-09-07 12:57
2005.10.16
Титры


3-1124981162
<Lelik>
2005-08-25 18:46
2005.10.16
Lock conflict on no wait