MinExe

所属分类:其他小程序
开发工具:Visual C++
文件大小:3KB
下载次数:73
上传日期:2008-05-02 01:10:42
上 传 者夏日晚晴
说明:  这是一个最小化的VC6.0编译的程序,其实VC程序的真正入口点不是在WinMain\main,而是WinMainCRTStartup\MainCRTStartup,这个函数的主要功能是检索命令行,环境变量,初始化全局变量和一些底层函数的堆栈,还有就是对构造C++全局对象.如果我们的程序没有用到这些,我们可以重写这个函数,省去了原来的一大堆代码,这样我们的程序的体积就减少了很多了.有兴趣的可以试一下.
(This is a minimal procedure VC6.0 compiler, in fact, the true VC procedure entry point not WinMainmain, but WinMainCRTStartupMainCRTStartup, the function of the main function is to retrieve the command line, environment variables, initialization of global variables and some of the underlying function stack, there is a tectonic C++ global object. If we did not use these procedures, we can rewrite this function, save a lot of the original code, so that our procedure reduces the size of a lot. are interested can try.)

文件列表:
MinExe\MinExe.dsp (3987, 2008-03-14)
MinExe\MinExe.dsw (520, 2008-03-14)
MinExe\Release (0, 2008-03-28)
MinExe\Main.cpp (1311, 2008-05-02)
MinExe (0, 2008-03-28)

近期下载者

相关文件


收藏者