怎么样才能使VC可执行程序又小又适合各种操作系统(如95、98、2000、XP、NT)?

解决方案 »

  1.   

    ???It depends on specific of ur project..of course suitable algorithm and date structure r important
      

  2.   

    使用release版本,如果可以不使用MFC,使用dynamic link
    不要调用于具体os相关的api,如果实在不行,就采用
    #ifdefine WIN98
    ...
    #endif
    方式
      

  3.   

    想要小,那就用ATL,要想应用于各种windows,那你就不要乱改stdafx.h中的关于windows版本和IE版本的定义
      

  4.   

    release~
    然后使用exe压缩工具~
      

  5.   

    #ifdefine WIN98
    ...
    #endif
    具体怎么用阿?