Share via


USE_STATIC_ATL

Use the USE_STATIC_ATL macro in your Sources file to indicate that you want to statically link the Active Template Library (ATL) version 7.1 into the image file. You must set the ATL version with the ATL_VERmacro.

If you want the ATL version 7.1 support code to be located in Atl.dll instead of your image file, use the USE_ATL macro. 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.

T The following instructions will establish the correct build environment for statically linking ATL 7.1 into your image file:

USE_STATIC_ATL=1
ATL_VER=71

See Also

ATL_VER

USE_ATL

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011