Reduce windows executable size

前端 未结 4 536
北荒
北荒 2021-01-05 17:38

I have a C++/MFC app on windows - dynamically linked it\'s only 60kb static it\'s > 3Mb.
It is a being distributed to customers by email and so needs to be as small as p

4条回答
  •  清歌不尽
    2021-01-05 18:24

    You can try Dependency Walker to check which DLLs that your static EXE file depends on, then if it depends on a library you are certain it exists at your client's machine, you can compile without it and reduce the size.

提交回复
热议问题