CRT Library Features


CRT Library Features

    C                               C++

LIBCMT.lib <---> LIBCPMT.LIB

MSVCRT.lib <---> MSVCPRT.LIB

MSVCMRT.lib   <--->  N/A

MSVCMRT.lib: C Runtime static library. Used for mixed managed/native code.


C Run-Time Libraries (CRT)


C run-time library (without iostream or standard C++ library)

Associated DLL

Characteristics

Option

Preprocessor directives

libcmt.lib

None, static link.

Multithreaded, static link

/MT

_MT

msvcrt.lib

msvcr110.dll

Multithreaded, dynamic link (import library for MSVCR110.DLL). Be aware that if you use the Standard C++ Library, your program will need MSVCP110.DLL to run.

/MD

_MT, _DLL

libcmtd.lib

None, static link

Multithreaded, static link (debug)

/MTd

_DEBUG, _MT

msvcrtd.lib

msvcr110d.dll

Multithreaded, dynamic link (import library for MSVCR110D.DLL) (debug).

/MDd

_DEBUG, _MT, _DLL

msvcmrt.lib

None, static link

C Runtime static library. Used for mixed managed/native code.

/clr

/clr:oldSyntax

 

msvcurt.lib

None, static link

C Runtime static library compiled as 100% pure MSIL code. All code complies with the ECMA URT spec for MSIL.

/clr:pure

 

The single-threaded CRT (libc.lib, libcd.lib) (formerly the/ML or/MLd options) is no longer available. Instead, use the multithreaded CRT. SeeMultithreaded Libraries Performance.

If you are using the /clr compiler switch, your code will be linked with a static library, msvcmrt.lib. The static library provides a proxy between your managed code and the native CRT. You cannot use the statically linked CRT ( /MT or /MTd options) with/clr. Use the dynamically-linked libraries (/MD or/MDd) instead.

This version (VS2013) of Visual C++ is not conformant with the C99 standard.

When /MD is used with _STATIC_CPPLIB defined (/D_STATIC_CPPLIB) it will cause the application to link with the static multithread Standard C++ Library (libcpmt.lib) instead of the dynamic version (msvcprt.lib) while still dynamically linking to the main CRT via msvcrt.lib.


Standard C++ Library

Standard C++ Library

Characteristics

Option

Preprocessor directives

LIBCPMT.LIB

Multithreaded, static link

/MT

_MT

MSVCPRT.LIB

Multithreaded, dynamic link (import library for MSVCP110.dll)

/MD

_MT, _DLL

LIBCPMTD.LIB

Multithreaded, static link

/MTd

_DEBUG, _MT

MSVCPRTD.LIB

Multithreaded, dynamic link (import library for MSVCP110D.DLL)

/MDd

_DEBUG, _MT, _DLL

Note   LIBCP.LIB and LIBCPD.LIB (via the old/ML and/MLd options) have been removed. Use LIBCPMT.LIB and LIBCPMTD.LIB instead via the/MT and/MTd options.



Should I compile with /MD or /MT?


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
■■■■■■■■■■■■■■■■■■■■ ■■■■■■■■■■■■■■■■■■■■ 首先说明: 1、绿色无毒,亲测可用,放心使用,分享万岁 2、找了好久,终于可用 3、secureCRT_6.7.4.354 可以自己到官网下载 也可以用我下载的(无毒) 4、注册机无毒(之前我找的注册机,被查杀了。 但这个没的哦。大家可以去在杀毒。 提供一个在线杀毒网址(里面有很多杀毒软件) http://r.virscan.org/report/5f784624d930eb5b75cbcc7112876edc.html (这个是我杀毒留下的日志,可以查看一下,是不是没有毒哦) http://www.virscan.org/(自己上传注册机,杀毒就可以了) --------------------------------------- 文件名称 : secureCRT_6.7.4.354.exe (本站不提供任何文件的下载服务) 文件大小 : 16296112 byte 文件类型 : PE32 executable for MS Windows (GUI) Intel 80386 32-bit MD5 : dba0a9f69dd227e147beec161d29785a SHA1 : 5e67b0759c598d382fba9430324f140150ef53af --------------------------------------- ■■■■■■■■■■■■■■■■■■■■ ■■■■■■■■■■■■■■■■■■■■ 测试版本:SecureCRT 6.7.4 软件首页:SecureCRT (non-integrated) 下载地址:http://www.vandyke.com/download/securecrt/download.html 帐号密码:zhanqi0404@163.com/zhanqi0404 注册机:SecureCRT.v.6.X-kg ■■■■■■■■■■■■■■■■■■■■ ■■■■■■■■■■■■■■■■■■■■ 注册步骤: 1:安装 SecureCRT 2:复制 SecureCRT.6.X.Keygen.exe 到 SecureCRT 安装目录 3:启动注册机,输入注册信息,随便输入用户和公司,点击 Patch 4:点击 Generate,生成序列号跟 Licence 5:启动 SecureCRT,按照步骤输入注册信息 6:完成注册 7、”features:(leave blank if license has no features“这个地方不用填写,否则完成不了 ■■■■■■■■■■■■■■■■■■■■ ■■■■■■■■■■■■■■■■■■■■ 备注说明: 我安装时候,缺水一个mfc100u.dll文件,搜索后再站长网(admin5.com)下载的 其它网站不放心哦。 没发现其它问题。 2013.8.14 ■■■■■■■■■■■■■■■■■■■■ ■■■■■■■■■■■■■■■■■■■■

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值