VC multithreaded C Run-time Library/ML/MLD/MT/MTD/MD/MDD_MT

Source: Internet
Author: User

Http://www.cnblogs.com/qinfengxiaoyue/archive/2013/02/01/2889668.html

http://blog.csdn.net/pgmsoul/article/details/4203941

--------------------------------------------------------------------------------------------------------------- -------------------

VC has 3 C-line threading, they are divided into single-threaded C static library, multi-threaded C Static library, multithreaded C DLL dynamic library,
Each line threading is divided into a debug and a release, the debug version is well recognized, followed by a small d.


1.C single thread Static library
LIBC.lib (release), LIBCD.lib (Debug version)


2.C multithreaded Static Library
LIBCMT.lib (release), LIBCMTD (Debug version)


3.C multi-threaded Dynamic library
MSVCRT.lib (release), Msvcrtd.lib (Debug version)
VS2005 the corresponding dynamic library is: Msvcrt80.dll (release), Msvcrt80d.dll (Debug version)
VS2008 the corresponding dynamic library is: Vsvcrt90.dll (release), Msvcrt90d.dll (Debug version)
--------------------------------------------------------------------------------------------------------------- -----------
To avoid a library conflict, we recommend using only one C-line threading in a project.
To use the C Run-time Library of the first row, as shown below, ignore the C Run-time library on line 2nd:

C single-threaded static library (libc.lib)
LIBCMT.lib, MSVCRT.lib, LIBCD.lib, LIBCMTD.lib, Msvcrtd.lib

C Debug Single thread Static library (LIBCD.lib)
LIBC.lib, LIBCMT.lib, MSVCRT.lib, LIBCMTD.lib, Msvcrtd.lib

C multithreaded Static library (LIBCMT.lib)
LIBC.lib, MSVCRT.lib, LIBCD.lib, LIBCMTD.lib, Msvcrtd.lib

C Debug Multithreaded Static library (LIBCMTD.lib)
LIBC.lib, LIBCMT.lib, MSVCRT.lib, LIBCD.lib, Msvcrtd.lib

C multithreaded dynamic libraries using DLLs (MSVCRT.lib)
LIBC.lib, LIBCMT.lib, LIBCD.lib, LIBCMTD.lib, Msvcrtd.lib

C Debug Multithreaded dynamic libraries using DLLs (Msvcrtd.lib)
LIBC.lib, LIBCMT.lib, MSVCRT.lib, LIBCD.lib, LIBCMTD.lib










Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.