Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.46 MB
Время: -0.973 c
2-1125085319
kimona
2005-08-26 23:41
2005.10.16
как открыть web станичку


3-1125486181
intaari
2005-08-31 15:03
2005.10.16
данные в DBGrid как в cross-tab отчета


14-1124309675
Пантелеев Иван
2005-08-18 00:14
2005.10.16
Зашифрофка программы


14-1127245744
palva
2005-09-20 23:49
2005.10.16
А теперь зацените мои фотки


6-1119600004
officeman
2005-06-24 12:00
2005.10.16
Вопрос про Сетевой-Доступ




   Наверх