Share via


USE_ATL

Use the USE_ATL macro in your Sources file to indicate that you are using the Active Template Library (ATL). Use this macro if you want the ATL version 7.1 support code to be located in Atl.dll. If you want to statically link the ATL support code into your image file, use the USE_STATIC_ATL macro.

You must set the ATL version with the USE_VER macro. When you specify ATL version 7.1 or later versions, the support code is statically linked into the image file whether you are using USE_ATL or USE_STATIC_ATL.

Note  Starting with the Windows Driver Kit (WDK) for Windows 7, all build environments support an ATL version of 7.1. Earlier ATL versions are not supported.

The following instruction will establish the correct build environment for a program that uses ATL version 7.1.

USE_ATL=1
ATL_VER=71

See Also

ATL_VER

USE_STATIC_ATL

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011