How to achieve smaller size of the executable?

前端 未结 8 1345
感情败类
感情败类 2020-12-05 08:41

Very recently I have come back to Delphi after a long pause and written a rather straightforward utility app my client requested to support an older release...

I kno

相关标签:
8条回答
  • 2020-12-05 09:03

    Do you have any resource files or pictures that are linked into the project?

    I think the ADODB also includes quite some overhead. If your app really uses a database then a mere 1MB isn't too bad for file size? Don't forget that your app is just this exe - no need for extra dll's etc.

    0 讨论(0)
  • 2020-12-05 09:08

    You may also considere to add the following line to the top of the project file:

    {$SetPEFlags 1}
    

    Explanation here : http://hallvards.blogspot.fr/2006/09/hack12-create-smaller-exe-files.html

    0 讨论(0)
提交回复
热议问题