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

若我的小家

-編程,讀書,感悟,旅游,設計
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>
            国产精品久久久久毛片软件| 日韩一区二区福利| 在线精品一区| 红桃视频亚洲| 韩日午夜在线资源一区二区| 好看的av在线不卡观看| 极品少妇一区二区三区| 亚洲盗摄视频| 日韩一区二区精品视频| 一区二区三区回区在观看免费视频| 亚洲乱码久久| 香蕉久久久久久久av网站| 久久久久久久久久久成人| 欧美成人精品不卡视频在线观看 | 久久国产视频网| 久久婷婷国产综合国色天香| 欧美mv日韩mv亚洲| 亚洲精品欧洲精品| 亚洲天堂男人| 久久在精品线影院精品国产| 欧美激情一区三区| 国产欧美日本一区二区三区| 亚洲第一综合天堂另类专| aa级大片欧美| 久久精品99国产精品| 欧美国产专区| 亚洲一区二区三区在线| 久色成人在线| 国产精品你懂的在线欣赏| 亚洲国产va精品久久久不卡综合| 一区二区日韩欧美| 久久久久久自在自线| 日韩视频精品在线| 久久综合九色九九| 国产日韩欧美一区二区三区在线观看| 一区二区在线不卡| 一区二区三区四区五区精品视频| 亚洲社区在线观看| 欧美国产一区二区三区激情无套| 亚洲自拍高清| 欧美激情二区三区| 一区二区三区在线免费视频| 亚洲主播在线观看| 亚洲欧洲日本国产| 久久久精品一品道一区| 国产精品成人免费| 99热这里只有成人精品国产| 久久精品国产99国产精品| 99视频国产精品免费观看| 男女激情视频一区| 亚洲高清在线精品| 欧美成人精品一区二区| 久久九九热免费视频| 国产一区二区三区免费不卡 | 麻豆国产va免费精品高清在线| 一本一本a久久| 欧美久久久久| 亚洲美女一区| 亚洲精品韩国| 欧美大尺度在线| 亚洲欧洲在线播放| 欧美大片网址| 女生裸体视频一区二区三区| 激情亚洲一区二区三区四区| 久久精品99久久香蕉国产色戒| 亚洲曰本av电影| 国产精品免费一区豆花| 中国成人黄色视屏| 亚洲精品美女久久久久| 欧美激情一区二区三区| 亚洲国产精品电影在线观看| 久久精品国产一区二区三区免费看| 亚洲一区一卡| 国产自产高清不卡| 久久综合色婷婷| 欧美freesex交免费视频| 亚洲国产精品v| 亚洲第一久久影院| 欧美国产高清| 一区二区三区四区精品| 99在线精品视频| 欧美系列精品| 久久精品视频网| 欧美综合国产| 日韩一区二区电影网| aa国产精品| 国产精品久久久久一区二区三区共| 亚洲一级黄色| 新狼窝色av性久久久久久| 在线看国产日韩| 亚洲精选中文字幕| 国产精品网站视频| 欧美国产先锋| 国产欧美日韩精品一区| 欧美夫妇交换俱乐部在线观看| 欧美精品91| 久久精品国产v日韩v亚洲| 麻豆freexxxx性91精品| 你懂的亚洲视频| 一区二区av| 欧美在线一级va免费观看| 亚洲人成网在线播放| 亚洲在线1234| 一区二区三区日韩精品视频| 亚洲欧美在线高清| 亚洲国产欧美日韩另类综合| 亚洲麻豆视频| 影音先锋中文字幕一区| 一本色道久久综合狠狠躁的推荐| 国产在线高清精品| 夜夜夜精品看看| 亚洲激情女人| 久久se精品一区精品二区| 9色精品在线| 亚洲国产99| 国产欧美在线看| 日韩一区二区福利| 免费成人av在线| 欧美在线播放高清精品| 欧美高清在线精品一区| 欧美在线观看视频一区二区| 麻豆精品视频在线| 久久久久久久尹人综合网亚洲| 欧美日韩第一区日日骚| 久久人人爽人人爽爽久久| 欧美午夜精品久久久久久孕妇 | 一区二区高清在线| 狠狠88综合久久久久综合网| 日韩午夜免费视频| 91久久精品一区二区别| 性欧美8khd高清极品| 99精品欧美一区| 免费欧美在线视频| 免费观看30秒视频久久| 国产精品色在线| 亚洲手机视频| 亚洲午夜国产一区99re久久 | 欧美激情精品久久久久久黑人| 国产日韩欧美综合| 宅男在线国产精品| 99国产一区| 奶水喷射视频一区| 欧美大学生性色视频| 黑丝一区二区三区| 午夜在线不卡| 亚洲欧美在线一区| 国产精品久久久久久久久动漫| 亚洲激情在线观看| 一区二区三区免费网站| 国产精品二区在线观看| 一本色道**综合亚洲精品蜜桃冫| 91久久精品一区| 欧美人与性动交cc0o| 亚洲美女黄网| 亚洲欧美日韩另类精品一区二区三区| 欧美色欧美亚洲另类二区| 夜夜嗨一区二区三区| 欧美一区二区三区播放老司机| 国产三级欧美三级| 久久久久久伊人| 亚洲国产天堂久久综合网| 一区二区三区四区在线| 国产欧美va欧美不卡在线| 欧美一区二区观看视频| 嫩模写真一区二区三区三州| 亚洲日本成人女熟在线观看| 欧美日韩成人免费| 亚洲一区二区在线播放| 久久精品国产欧美激情| 亚洲第一页在线| 欧美先锋影音| 久久久久www| 亚洲靠逼com| 久久国产精品一区二区| 亚洲欧洲日本专区| 国产精品久久久久aaaa樱花| 欧美一区日本一区韩国一区| 亚洲高清色综合| 国产综合久久久久久鬼色| 久久综合国产精品| 国产精品99久久99久久久二8| 久久高清福利视频| 日韩视频免费观看| 国产一区二区三区在线观看精品 | 亚洲一级高清| 永久91嫩草亚洲精品人人| 浪潮色综合久久天堂| 美女日韩欧美| 亚洲精品无人区| 欧美自拍偷拍| 一区二区三区成人精品| 国产精品欧美一区喷水| 欧美大胆成人| 久久久精品免费视频| 亚洲一区www| 亚洲国产视频一区二区| 快she精品国产999| 欧美专区第一页| 亚洲午夜三级在线| 亚洲精品视频在线观看免费|