Autor Beitrag
delphinia
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 131

XP Pro Sp2
Delphi 5 Standard
BeitragVerfasst: Di 13.12.05 07:17 
Hallo

ich habe mir mittels Resourcen Hacker mal angeshcaut was alles so in meienr EXE drinnsteckt.

Das ist ja erschreckend!
Ich brauche in meinem Programm diese unter BITMAP abgelegten Bildchern alle gar nicht! Die nehmen nur grösse in der EXE weg... wie bekomme ich die daraus?

Oder auch Strings / Courser - die ich so gar nicht benötige in meinem Tool... verschwendung!!

Moderiert von user profile iconTino: Titel geändert.
DaRkFiRe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 526

WinXP Home & Professional
C, C++, Delphi
BeitragVerfasst: Di 13.12.05 10:05 
Sind viele in den RES Dateien der Buttons beispielsweise versteckt. Du solltest den Source haben, wo drin steht {$R *.RES} und das auskommentieren, danach komplett neu kompilieren und dann sollte das weg sein.

Da das aber alles Palettenbilder sind (früher waren sie das mal), sollte es nicht ALLZU sehr die Größe beeinträchtigen.

Das größte an Deinem Programm is sowieso die Unit Forms.

_________________
Lang ist der Weg durch Lehren - kurz und wirksam durch Beispiele! Seneca
delphinia Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 131

XP Pro Sp2
Delphi 5 Standard
BeitragVerfasst: Di 13.12.05 10:26 
Zitat:
Das größte an Deinem Programm is sowieso die Unit Forms.


was kann ich dagegen machen? Gibt es optimiertere Units?
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 13.12.05 10:36 
Du könntest die ganze VCL weglassen. Allerdings musst du dann die ganzen Buttons und so "selber" zeichnen. Ich glaube, dass user profile iconLuckie auf seiner Homepage da was zu hat.

_________________
We are, we were and will not be.