Programming with ATL and C Run-Time Code


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Programming with ATL and C Run-Time Code.

This section discusses the benefits of using the C Run-Time Library (CRT) with either static or dynamic linking.

Benefits and Tradeoffs of the Method Used to Link to the CRT
Summarizes the benefits and tradeoffs involved in linking statically to the CRT or linking dynamically.

Linking to the CRT in Your ATL Project
Discusses the project settings and linker options for linking to the CRT; also provides details on how linking to the CRT affects your program image.

Provides links to conceptual topics on how to program using the Active Template Library.

Run-Time Library Behavior
Provides details on how the CRT startup code works.

C Run-Time Libraries
Discusses the various .lib files that comprise the C run-time libraries and lists their associated compiler options and preprocessor directives.