Original Post
Hi, I recently ported a library project (a simple 2D API) from Visual Studio 2003 to Visual Studio 2005. I found that using the statically linked Runtime Libraries (MT - Multi Threaded) meant an enormous lib file size. I expect it to be large as it has all the library functionality in the lib however it is huge compared to the 2003 version. If I switch to DLL linked libraries (MD - Multi Threaded DLL) then the file size is much reduced but it is still larger than the size from 2003 and of course means users of my library will need to use MD and distribute all the run time library dlls with their apps. I would much prefer a self contained exe. What have other people been doing to solve this? Sizes Under Visual Studio 2003 the lib is 211 KB Under Visual Studio 2005 with MT it is 1029 KB Under Visual Studio 2005 with MD it is 456 KB