Autor Beitrag
Larus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: So 27.02.05 22:38 
Wie kann ich dafür sorgen das ein im Prinzip ganz simples Prog net dierekt 200 Kb groß ist... das Prog unter www.delphi-forum.de/....php?p=223321#223321 ist auch nur 40 Kb groß.
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: So 27.02.05 22:40 
Es gibt verschiedene Möglichkeiten, um die Exe-Grösse zu reduzieren.

01) Einen EXE-Packer verwenden (UPX, ASPack, ....)
02) KOL verwenden.
03) Die Anwendung ohne VCL schreiben (nur mit API, nonVCL)
04) Die ACL (API Controls Library) verwenden.
05) StripReloc verwenden.
06) Debug Informationen und TD32 ausschalten.
07) Code in eine Dll auslagern.
08) Wenn Bilder mehrmals verwendet werden,
dann nur einmal einbinden und die anderen zur Laufzeit laden.
09) Bilder komprimieren (nicht bmp sondern z.B das jpg Format verwenden)
Larus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: So 27.02.05 22:43 
kannse mir zu einigen der Punkte genaue anleitungen geben? Die Exe muss auf jeden Fall noch ausführbar sein... Was ist Kol und wie lade ich bilder aus der res?
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: So 27.02.05 22:47 
Habe die Möglichkeiten hier genauer beschrieben:
www.swissdelphicente...showcode.php?id=1159
Larus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: Mo 28.02.05 15:14 
seh ich mir ma an :lupe: