Reduce EXE/DLL size:1) Do not use MFC 2) Do not use STL 3) Do not use C++ exception handling 4) Do not use runtime type information 5) Do not use C++ runtime library 6) Do not use other large libraries. ...
Reduce EXE/DLL size:1) Do not use MFC 2) Do not use STL 3) Do not use C++ exception handling 4) Do not use runtime type information 5) Do not use C++ runtime library 6) Do not use other large libraries.//////////////////////////////////////////// Is there any way to instand those methods? Come on, give us some more useful advice,pls.
1.把按钮位图等放到一个文件夹中再loadbitmap,少使用icon
2.少使用封装好的类或去掉用不到的部分,多用sdk
3.多使用动态链接库
3.VC的优化
减少运行时占用的内存
1.少用全局变量
2.变量尽量在使用时才定义
说了些细节,没说到重点
高手多补充啊
2) Do not use STL
3) Do not use C++ exception handling
4) Do not use runtime type information
5) Do not use C++ runtime library
6) Do not use other large libraries.
...
2) Do not use STL
3) Do not use C++ exception handling
4) Do not use runtime type information
5) Do not use C++ runtime library
6) Do not use other large libraries.////////////////////////////////////////////
Is there any way to instand those methods?
Come on, give us some more useful advice,pls.
---同意
如果要程序做的短小精悍的话
直接用sdk