精简EXE文件的Delphi源码
- 代码等级:

- 更新日期:2006/11/30 Home Page
- 授权方式:免费软件
- 代码大小:44 KB
- 运行环境:Windows
- 代码语言:简体中文
- 所属类型:国产软件
- 相关地址:暂无联系方式 没有预览图片
- 解压密码:www.39g.com
- 下载统计:
- 代码简介:
- 精简EXE文件的Delphi源码,只能在DOS的命令列下執行,
可以將執行文件的多余的重配区段刪除,实际测试結果約可縮小40-50K左右! (另外我有个22MB的控件怎么发布,这里限制文件大小为10MB)
原文內容:
StripReloc is a free command line utility that removes the relocation (".reloc") section from Win32 PE EXE files, reducing their size. Most compilers/linkers put a relocation section in EXE files, but this is actually not necessary since EXEs never get relocated. Hence, a relocation section only wastes space.
This program is designed for developers to run on their own applications' executables only. It is not recommended that you run StripReloc indiscriminately on all EXEs you come across, because certain programs may rely on their internal structure staying intact. Full source code is included.