大家一起来发表一下心得吧。

解决方案 »

  1.   

    控制exe文件大小:
    1.把按钮位图等放到一个文件夹中再loadbitmap,少使用icon
    2.少使用封装好的类或去掉用不到的部分,多用sdk
    3.多使用动态链接库
    3.VC的优化
    减少运行时占用的内存
    1.少用全局变量
    2.变量尽量在使用时才定义
    说了些细节,没说到重点
    高手多补充啊
      

  2.   

    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.
    ...
      

  3.   

    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.
      

  4.   

    性能最重要
    ---同意
    如果要程序做的短小精悍的话
    直接用sdk
      

  5.   

    没有分啊, 好吧用asm写,短小精悍,性能无敌