Dll vs static lib (MSVC9 RunTime Library option)
问题 For a MSVC9 Win32 project following options are shown under Configuration Properties -> C/C++ -> Code Geberation -> Runtime Library: /MT, /MTd, /MD, /MDd is it correct that for a DLL /MTd should be used and for static lib /MDd? Thanks. 回答1: There are two issues that are at play here. First, you need to choose if you want the Debug version of the CRT or the Release version. The debug versions have special checks and code paths designed to help you catch bugs while writing an application. You