Ä¿´Ù¶õ ¾îÇø®ÄÉÀÌ¼Ç ÀÛ°Ô ¸¸µé±â 


  
The IDE may be oversupporting your legacy apps (with VCL support, that is). Here's how to switch to a smaller runtime library. 

Making legacy applications smaller 
by default, the C++Builder IDE links support for the Visual 
Component Library (VCL) into any new project. To see how this is 
done, choose View | Project Makefile. You'll find the following 
macro definition: 

    ALLLIB = $(LIBFILES) vcl.lib import32.lib cp32mt.lib

Note that vcl.lib and a cp32mt.lib runtime library that supports 
it are included by default. (vcld.lib is included if you've 
selected the debug version of VCL, and cp32mti.lib is included if 
you've selected the dynamic version of the runtime library.) 

Obviously, legacy applications and new programs not based on VCL 
have no need for this support. Fortunately, it's easy to get rid 
of. C++Builder includes a smaller, alternate multi-threaded 
runtime library, cw32mt.lib. To use it, change your makefile 
ALLLIB macro to the following: 

    ALLLIB = $(LIBFILES) import32.lib cw32mt.lib 

 
Submitted by Sam Azer 
http://azer.dsuper.net