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

若我的小家

-編程,讀書,感悟,旅游,設計
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片| 久久久国产成人精品| 午夜精品视频在线观看| 国产日韩一级二级三级| 久久久久久久久久久久久女国产乱 | 欧美国产综合| 99视频超级精品| 中文在线一区| 国产一区二区三区黄视频| 另类欧美日韩国产在线| 欧美暴力喷水在线| 亚洲一区二区三区精品在线观看| 亚洲香蕉网站| 亚洲高清不卡一区| 99视频精品在线| 国产一区999| 亚洲黄色在线观看| 国产精品久久久999| 久久久久久**毛片大全| 欧美成人激情视频| 性久久久久久久| 美女视频网站黄色亚洲| 亚洲午夜激情免费视频| 久久精品一二三| 宅男精品视频| 久久久精品午夜少妇| 中文欧美日韩| 久久亚洲图片| 欧美亚洲综合久久| 欧美精品 国产精品| 久久久久久伊人| 欧美日韩在线视频一区二区| 久久国产主播精品| 欧美三级视频在线| 欧美+亚洲+精品+三区| 国产精品美女一区二区在线观看 | 夜夜嗨av一区二区三区网页| 欧美在线精品一区| 亚洲午夜在线观看| 欧美不卡福利| 久久综合99re88久久爱| 欧美午夜电影完整版| 亚洲国产精品成人一区二区 | 欧美精品免费在线| 久久一区二区三区四区| 国产伦精品一区二区三| 亚洲毛片一区二区| 日韩亚洲一区二区| 免费成人av在线看| 欧美承认网站| 在线日韩av片| 久久美女性网| 久久一综合视频| 国产原创一区二区| 性8sex亚洲区入口| 久久精品欧洲| 国产视频一区免费看| 亚洲天堂第二页| 亚洲免费在线观看视频| 欧美午夜美女看片| 一区二区三区**美女毛片| 夜色激情一区二区| 欧美日韩成人在线播放| 亚洲人成网站影音先锋播放| 亚洲精品男同| 欧美日韩视频| 一区二区91| 亚洲欧美日韩一区二区在线| 欧美日韩亚洲天堂| 亚洲私人影院| 久久国内精品视频| 在线播放日韩欧美| 米奇777超碰欧美日韩亚洲| 欧美bbbxxxxx| 日韩午夜在线电影| 欧美三区在线视频| 亚洲欧美国产制服动漫| 久久精品国内一区二区三区| 国产一区二区三区黄视频| 久久久久国产精品一区| 女人香蕉久久**毛片精品| 亚洲国产精品一区二区三区| 免费一区二区三区| 日韩视频免费在线观看| 欧美一级在线视频| 黄色日韩网站视频| 欧美成人久久| 在线视频你懂得一区| 欧美一区免费视频| 在线色欧美三级视频| 欧美激情综合色综合啪啪| 一区二区三区精品国产| 久久九九99| 亚洲免费成人av| 国产欧美日韩一区二区三区在线观看 | 美乳少妇欧美精品| 在线一区亚洲| 久久中文字幕导航| 99精品免费| 国产午夜精品久久| 欧美国产视频日韩| 性做久久久久久| 亚洲黄色三级| 久久久久国内| 中日韩高清电影网| 在线观看免费视频综合| 欧美视频一区在线观看| 久久露脸国产精品| 一区二区三区高清| 久久综合九色| 午夜精品久久久99热福利| 1000部精品久久久久久久久| 欧美三区美女| 欧美成人在线网站| 久久精品国产99| 99亚洲一区二区| 欧美成人福利视频| 欧美一区国产二区| 亚洲小说欧美另类社区| 亚洲国产精品视频一区| 国产婷婷色一区二区三区| 欧美日韩国产成人在线免费| 久久久久久尹人网香蕉| 亚洲一区二区在线免费观看| 亚洲精品一区二区三| 欧美黄色视屏| 免费成人美女女| 久久精品青青大伊人av| 午夜精品一区二区三区电影天堂| 亚洲精品乱码久久久久久蜜桃麻豆 | 狠狠入ady亚洲精品经典电影| 欧美日韩国产区一| 欧美激情国产日韩| 女生裸体视频一区二区三区| 欧美资源在线| 欧美一区午夜精品| 午夜精品影院| 亚洲欧美在线免费| 午夜视频久久久久久| 亚洲欧美日韩一区二区| 亚洲一区二区欧美| 亚洲在线第一页| 亚洲综合大片69999| 在线亚洲欧美| 亚洲自拍都市欧美小说| 亚洲永久网站| 欧美一区2区三区4区公司二百| 亚洲影院在线| 欧美在线精品免播放器视频| 久久精品一区二区三区中文字幕| 久久9热精品视频| 久久久之久亚州精品露出| 久久久久免费视频| 免费成人av在线看| 欧美日本在线观看| 国产精品久久久久久久久久久久| 欧美日韩亚洲一区| 国产精品欧美日韩一区二区| 国产精品推荐精品| 国语自产精品视频在线看8查询8 | 国产精品成人免费视频 | 国产精品免费在线| 国产欧美日韩免费| 影音先锋成人资源站| 亚洲激情第一区| 在线亚洲电影| 久久精品国产精品亚洲综合| 六十路精品视频| 亚洲美女黄网| 午夜精品久久久久久久久久久久 | 久久久午夜精品| 欧美精品一区二区在线播放| 国产精品黄视频| 怡红院精品视频| 一区二区三欧美| 久久久久久香蕉网| 亚洲日本欧美日韩高观看| 在线一区二区三区四区| 久久久www成人免费毛片麻豆| 欧美成人午夜免费视在线看片| 欧美视频在线播放| 在线高清一区| 亚洲欧美视频在线观看| 久久综合一区二区三区| 亚洲伦理中文字幕| 久久一区激情| 国产精品欧美一区喷水| 亚洲日本中文字幕区| 久久99在线观看| 亚洲精品在线视频| 久久这里有精品15一区二区三区| 欧美性大战久久久久久久| 在线观看三级视频欧美| 亚洲一区二区三区四区中文| 欧美成人综合| 久久精品国产在热久久| 国产精品www网站| 999在线观看精品免费不卡网站|