?????????

解决方案 »

  1.   

    Menu -> Project -> Setting -> C++ Lang... -> optimize -> Minimize
      

  2.   

    能可以不用MFC类的时候就不用直接用WIN32编程.能不用WIN32的时候就不用,用纯C编程.能不用WINDOWS的时候就不用,用DOS.能不用DOS的时候就不用,用打孔机VC编译器指令大全.其中就有如何减小体积的.tp://www.yourblog.org/Data/20041/2648.html
    http://www.pcvc.net/category/content.asp?sendid=181
      

  3.   

    main()
    {
    }//这个程序最小,hoho~~
      

  4.   

    #pragma comment(linker,"/entry:WinEntry")
    #pragma comment(linker,"/subsystem:windows")
    #pragma comment(linker,"/align:4096")
    #pragma comment(linker,"/merge:.rdata=.data")#include <windows.h>void WinEntry()
    {
    MessageBox(NULL,"","",MB_OK);
    }编译出来1.5k
      

  5.   

    #pragma comment(linker,"/entry:WinEntry")
    #pragma comment(linker,"/subsystem:windows")
    #pragma comment(linker,"/align:4096")
    #pragma comment(linker,"/merge:.text=.rdata")#include <windows.h>void WinEntry()
    {
    MessageBox(NULL,"","",MB_OK);
    }才1k
      

  6.   

    俺知道的
    动态连接
    尽量减少用dll
      

  7.   

    see:
    period96/msj/October/Under the hood
      

  8.   

    #pragma comment(linker,"/entry:WinEntry")
    #pragma comment(linker,"/subsystem:windows")
    #pragma comment(linker,"/align:4096")
    #pragma comment(linker,"/merge:.rdata=.data")#pragma comment(linker,"/entry:WinEntry")
    #pragma comment(linker,"/subsystem:windows")
    #pragma comment(linker,"/align:4096")
    #pragma comment(linker,"/merge:.text=.rdata")能不能解释一下上面的宏