青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

若我的小家

-編程,讀書,感悟,旅游,設計
posts - 21, comments - 0, trackbacks - 0, articles - 0
C Run-Time Libraries 

This topic discusses the various .lib files that comprise the C run-time libraries as well as their associated compiler options and preprocessor directives.

The following libraries contain the C run-time library functions.

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

msvcr80.dll

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

/MD

_MT, _DLL

libcmtd.lib

None, static link

Multithreaded, static link (debug)

/MTd

_DEBUG, _MT

msvcrtd.lib

msvcr80d.dll

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

/MDd

_DEBUG, _MT, _DLL

msvcmrt.lib

msvcm80.dll

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

/clr

 

msvcurt.lib

msvcm80.dll

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

/clr:pure

 

NoteNote

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

If you link your program from the command line without a compiler option that specifies a C run-time library, the linker will use LIBCMT.LIB. This is different from previous versions of Visual C++ which used LIBC.LIB, the single-threaded library, instead.

Using the statically linked CRT implies that any state information saved by the C runtime library will be local to that instance of the CRT. For example, if you use strtok, _strtok_l, wcstok, _wcstok_l, _mbstok, _mbstok_l when using a statically linked CRT, the position of the strtok parser is unrelated to the strtok state used in code in the same process (but in a different DLL or EXE) that is linked to another instance of the static CRT. In contrast, the dynamically linked CRT shares state for all code within a process that is dynamically linked to the CRT. This concern does not apply if you use the new more secure versions of these functions; for example, strtok_s does not have this problem.

Because a DLL built by linking to a static CRT will have its own CRT state, it is not recommended to link statically to the CRT in a DLL unless the consequences of this are specifically desired and understood. For example, if you call _set_se_translator in an executable that loads the DLL linked to its own static CRT, any hardware exceptions generated by the code in the DLL will not be caught by the translator, but hardware exceptions generated by code in the main executable will be caught.

If you are using the /clr compiler switch, your code will be linked with an import library, msvcmrt.lib. The import library references a new library, msvcm80.dll, which 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.

If you are using the /clr:pure compiler switch, your code will be linked with the import library msvcurt.lib, which also references msvcm80.dll. As with /clr, you cannot link with the statically linked library.

For more information on using the CRT with /clr, see Mixed (Native and Managed) Assemblies; for /clr:pure, see Pure and Verifiable Code.

To build a debug version of your application, the _DEBUG flag must be defined and the application must be linked with a debug version of one of these libraries. For more information about using the debug versions of the library files, see CRT Debugging Techniques.

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

Standard C++ Library Characteristics Option Preprocessor directives

LIBCPMT.LIB

Multithreaded, static link

/MT

_MT

MSVCPRT.LIB

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

/MD

_MT, _DLL

LIBCPMTD.LIB

Multithreaded, static link

/MTd

_DEBUG, _MT

MSVCPRTD.LIB

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

/MDd

_DEBUG, _MT, _DLL

Note   Starting in Visual C++ 2005, 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.

When you build a release version of your project, one of the basic C run-time libraries (LIBCMT.LIB, MSVCMRT.LIB, MSVCRT.LIB) is linked by default, depending on the compiler option you choose (multithreaded, DLL, /clr). If you include one of the Standard C++ Library Header Files in your code, a Standard C++ Library will be linked in automatically by Visual C++ at compile time. For example:

#include <ios> 

The msvcrt.dll is now a "known DLL," meaning that it is a system component owned and built by Windows. It is intended for future use only by system-level components.

If you have a .lib or .obj file that needs to link to msvcrt.lib, then you should not have to recompile it to work with the new msvcrt.lib in Visual C++ 2005. The .lib or .obj file may rely on the sizes, field offsets, or member function names of various CRT classes or variables, and those should all still exist in a compatible way. When you relink against msvcrt.lib, your final EXE and DLL image will now have a dependency on msvcr80.dll instead of msvcrt.dll.

If you have more than one DLL or EXE, then you may have more than one CRT, whether or not you are using different versions of Visual C++. For example, statically linking the CRT into multiple DLLs can present the same problem. Developers encountering this problem with static CRTs have been instructed to compile with /MD to use the CRT DLL. Now that the CRT DLL has been renamed to msvcr80.dll, applications may have some components linked to msvcrt.dll and others to msvcr80.dll. If your DLLs pass CRT resources across the msvcrt.dll and msvcr80.dll boundary, you will encounter issues with mismatched CRTs and need to recompile your project with Visual C++ 2005.

If your program is using more than one version of the CRT, some care is needed when passing certain CRT objects (such as file handles, locales and environment variables) across DLL boundaries. For more information on the issues involved and how to resolve them, see Potential Errors Passing CRT Objects Across DLL Boundaries.

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            亚洲一区在线播放| 亚洲一区网站| 欧美久久视频| 欧美乱大交xxxxx| 欧美激情一区二区三级高清视频| 久久综合成人精品亚洲另类欧美| 老司机成人网| 欧美精品福利视频| 欧美日韩在线一二三| 国产欧美一区二区三区视频| 韩国v欧美v日本v亚洲v| 亚洲国产精品嫩草影院| 亚洲免费小视频| 欧美激情1区2区3区| 国产亚洲精品自拍| 亚洲欧洲日韩在线| 中日韩午夜理伦电影免费| 欧美一区亚洲| 亚洲乱码一区二区| 久久婷婷综合激情| 国产精品一区二区欧美| 亚洲精品一区二区网址| 欧美区在线播放| 国产在线不卡| 亚洲欧美日韩国产精品| 欧美另类videos死尸| 依依成人综合视频| 欧美在线视频观看| 亚洲一区二区日本| 欧美区在线观看| 亚洲亚洲精品三区日韩精品在线视频| 久久夜色精品一区| 欧美一区亚洲二区| 激情综合亚洲| 久久手机免费观看| 狼狼综合久久久久综合网| 在线看片欧美| 亚洲国产精品高清久久久| 亚洲欧美国产制服动漫| 国产精品日韩久久久| 久久精品欧美日韩精品| 久久精品国产第一区二区三区最新章节| 国产精品扒开腿做爽爽爽软件 | 亚洲欧美日韩国产一区二区三区 | 在线亚洲精品| 国产精品一区二区三区成人| 午夜精品福利电影| 久久精品人人做人人综合| 在线欧美日韩| 99精品热视频只有精品10| 国产日韩av高清| 久久综合久久久久88| 欧美激情无毛| 老鸭窝91久久精品色噜噜导演| 久久久久久久久久看片| 久久日韩粉嫩一区二区三区| 日韩午夜视频在线观看| 欧美亚洲三级| 欧美一级成年大片在线观看| 免费亚洲一区二区| 久久久人成影片一区二区三区| 另类图片国产| 美女主播视频一区| 国内视频精品| 久久国产精品久久国产精品| 性感少妇一区| 国产精品视频xxx| 在线一区二区视频| 亚洲免费在线观看| 国产精品护士白丝一区av| 亚洲国产精品久久久久秋霞影院| 黄色工厂这里只有精品| 欧美制服丝袜第一页| 久久久欧美一区二区| 国产原创一区二区| 久久免费精品日本久久中文字幕| 久久国产精品一区二区| 国产精品视频免费观看www| 日韩一区二区福利| 亚洲欧洲av一区二区| 国产精品国产馆在线真实露脸| 亚洲日韩中文字幕在线播放| 亚洲人成网在线播放| 欧美韩国日本综合| 亚洲淫性视频| 久色成人在线| 亚洲在线视频| 亚洲高清精品中出| 欧美性大战久久久久久久| 欧美亚洲一级| 亚洲人成在线影院| 久久久久一本一区二区青青蜜月| 久久精品国产成人| 亚洲激情网址| 久久久久久久久久久久久女国产乱 | 亚洲午夜电影| 亚洲区免费影片| 国产亚洲欧美激情| 欧美成人在线免费观看| 欧美亚洲午夜视频在线观看| 亚洲黄色影片| 最新亚洲一区| 欧美大片va欧美在线播放| 久久理论片午夜琪琪电影网| 亚洲精品中文字| 最新日韩在线视频| 伊人狠狠色j香婷婷综合| 国产精品日日摸夜夜摸av| 欧美激情精品久久久久久免费印度 | 亚洲人屁股眼子交8| 亚洲第一黄色网| 亚洲国产成人精品久久| 久久露脸国产精品| 蜜臀91精品一区二区三区| 香蕉亚洲视频| 久久精品国产清自在天天线 | 国产午夜亚洲精品不卡| 国产精品久久| 国模一区二区三区| 在线观看欧美日韩| 亚洲高清自拍| 国产精品99久久久久久人| 亚洲欧美国产精品va在线观看| 欧美激情亚洲自拍| 欧美日本国产| 国产精品久久一卡二卡| 韩国福利一区| 一本一道久久综合狠狠老精东影业 | 亚洲国产日韩欧美| 亚洲一区二区免费视频| 久久综合色婷婷| 国产精品美女久久久久久2018| 好吊色欧美一区二区三区视频| 亚洲国产三级在线| 欧美一区二区黄| 最新国产成人av网站网址麻豆| 亚洲一区二区三区高清不卡| 久久精品首页| 国产一区二区三区在线播放免费观看| 亚洲激情成人网| 久久久久久国产精品mv| 在线一区二区三区做爰视频网站| 久久女同精品一区二区| 国产亚洲一区在线播放| 一区二区三区日韩欧美| 亚洲激情精品| 欧美大片va欧美在线播放| 在线观看亚洲| 欧美α欧美αv大片| 久久久国产91| 国产丝袜美腿一区二区三区| 欧美影院视频| 欧美一区在线视频| 狠狠色伊人亚洲综合网站色| 久久精品道一区二区三区| 亚洲综合清纯丝袜自拍| 国产亚洲va综合人人澡精品| 欧美在线国产精品| 久久成人综合网| 在线观看欧美精品| 99国内精品久久| 国产乱理伦片在线观看夜一区| 好看的亚洲午夜视频在线| 久久精品三级| 快射av在线播放一区| 亚洲视频在线观看一区| 午夜在线一区二区| 亚洲人成亚洲人成在线观看| 日韩一区二区精品视频| 国产日韩欧美| 亚洲毛片在线观看.| 国产视频精品免费播放| 欧美 日韩 国产在线| 国产精品久久久久久五月尺| 久久九九国产精品| 国产精品入口福利| 91久久精品一区| 韩国三级电影久久久久久| 亚洲天堂成人在线观看| 亚洲国产精品福利| 欧美制服丝袜| 久久久人成影片一区二区三区| 欧美日韩在线免费| 亚洲精品久久久久久一区二区| 在线观看欧美日本| 久久久99精品免费观看不卡| 久久xxxx精品视频| 国产精品中文字幕在线观看| 亚洲激情一区二区| 亚洲精品小视频| 欧美日本三级| 亚洲天堂av在线免费观看| 亚洲欧美国产高清| 国产精品xxx在线观看www| 一本一本久久a久久精品综合妖精| 一区二区免费在线观看| 欧美日韩国产999| 亚洲已满18点击进入久久| 午夜精品国产精品大乳美女| 国产精品免费看|