Jump to content
Vlachs

Delphi Question - Smaller APP Size

Recommended Posts

Nu stiu daca e vrun programator delphi dar sper sa fie pentru ca am o intrebare la care caut neaparat un raspuns.

Cum dracu micsorez marimea aplicatiei, 10 mb pentru un rahat de form e prea de tot.

Precizez ca deja am dat disable la RTTI dar diferenta e nesemnificativa, aprox 400kb mai putin.

Edit:

Combinate rezulta o aplicatie de 300kb din 10mb!

Fara dependinte(1,8mb):

Project> Options> Delphi Compiler> Linking

"Debug information" set to false

Cu dependinte(300kb):

Project> Options> Packages> Runtime Packages

Set the "Link with runtime packages" to true

Edited by Vlachs
Link to comment
Share on other sites

Pai daca faci executabilul cu "Link with runtime packages" nu va rula pe un computer unde nu gaseste "runtime packages"".

Se pot face si aplicatii de cativa kb in Delphi daca nu folosesti unit-uri ca Forms, Sysutils etc.

Ferestrele trebuie facute din API.

In cazul asta mai bine raman pe c++ :)).. Delphi era scaparea mea de winapi.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...