Главная страница
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.047 c
1-1127585884
Hamster
2005-09-24 22:18
2005.10.16
Исправление значения ячейки в StringGrid


1-1127490315
userrrrr
2005-09-23 19:45
2005.10.16
как создать idhttp


14-1126997219
P.N.P.
2005-09-18 02:46
2005.10.16
Смысл жизни


1-1127465635
avsam
2005-09-23 12:53
2005.10.16
RES файл


2-1126810370
Oleg_L
2005-09-15 22:52
2005.10.16
Как выйти на DirectX и OpelGL