Delphi XE3 EXE file size 25 times larger than Dephi 7

后端 未结 4 1083
面向向阳花
面向向阳花 2020-12-24 15:00

As a test I decided to create a simple \"Hello world\" app in Delphi using Delphi 4, 5, 6, 7, 2005, 2010 and XE3. The app is nothing more than a TForm, a TButton with an On

4条回答
  •  不知归路
    2020-12-24 15:51

    You may have done a only a compile after changing to 'Release' configuration. Try to do a rebuild (not recompile). This will truly activate the Release configuration on the executable, and perhaps a smaller file size.

    For me (Delphi XE2), the size reported by Windows for the same app (Release configuration) is:

    1.52 MB (1,600,512 bytes)

提交回复
热议问题