Компилятор Дельфи Delphi — среда быстрой разработки, где в качестве языка программирования используется Object Pascal. На сегодняшний день позволяет разрабатывать ПО для Microsoft Windows, Mac OS, iOS и Android и входит в состав Embarcadero RAD Studio https://delphi-hlp.ru/index.php/delphi-ide/kompilyator-delfi.feed 2022-09-13T04:44:52+07:00 Delphi help info@delphi-hlp.ru Joomla! - Open Source Content Management Способы уменьшения размера Exe файлов полученных с помощью Дельфи? 2013-08-14T02:07:19+07:00 2013-08-14T02:07:19+07:00 https://delphi-hlp.ru/index.php/delphi-ide/kompilyator-delfi/sposoby-umensheniya-razmera-exe-fajlov-poluchennykh-s-pomoshchyu-delfi.html Super User toto44@inbox.ru <p>Generally, EXE files created with Delphi are larger than EXE files created with another programming language. The reason is the VCL. (Sure, VCL has many advantages...)</p> <p> </p> <p>There are several ways to reduce a EXE's size:</p> <p> </p> <p>01) Use a EXE-Packer (UPX, ASPack,...)</p> <p>02) Use KOL.</p> <p>03) Write your application without VCL</p> <p>04) Use the ACL (API Controls Library)</p> <p>05) Use StripReloc.</p> <p>06) Deactivate remote debugging information and TD32.</p> <p>07) You might want to put code in a dll.</p> <p>08) Don't put the same images several times on a form. Load them at runtime.</p> <p>09) Use compressed images (JPG and not BMP)</p> <p>10) Store less properties in DFM files</p> <p>(See Link below "How To Make Your EXE's Lighter")</p> <p> </p> <p>11) Use the TStringList replacement by ~LOM~</p> <p>Use the Minireg - TRegistry replacement by Ben Hochstrasser</p> <p><span style="color: #000000; font-family: 'Times New Roman';"> </span></p> <p class="feed-readmore"><a target="_blank" href ="/index.php/delphi-ide/kompilyator-delfi/sposoby-umensheniya-razmera-exe-fajlov-poluchennykh-s-pomoshchyu-delfi.html">Подробнее...</a></p> <p>Generally, EXE files created with Delphi are larger than EXE files created with another programming language. The reason is the VCL. (Sure, VCL has many advantages...)</p> <p> </p> <p>There are several ways to reduce a EXE's size:</p> <p> </p> <p>01) Use a EXE-Packer (UPX, ASPack,...)</p> <p>02) Use KOL.</p> <p>03) Write your application without VCL</p> <p>04) Use the ACL (API Controls Library)</p> <p>05) Use StripReloc.</p> <p>06) Deactivate remote debugging information and TD32.</p> <p>07) You might want to put code in a dll.</p> <p>08) Don't put the same images several times on a form. Load them at runtime.</p> <p>09) Use compressed images (JPG and not BMP)</p> <p>10) Store less properties in DFM files</p> <p>(See Link below "How To Make Your EXE's Lighter")</p> <p> </p> <p>11) Use the TStringList replacement by ~LOM~</p> <p>Use the Minireg - TRegistry replacement by Ben Hochstrasser</p> <p><span style="color: #000000; font-family: 'Times New Roman';"> </span></p> <p class="feed-readmore"><a target="_blank" href ="/index.php/delphi-ide/kompilyator-delfi/sposoby-umensheniya-razmera-exe-fajlov-poluchennykh-s-pomoshchyu-delfi.html">Подробнее...</a></p>