We recommend using Visual Studio 2017


[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Beginning in ATL 7.0, atlTraceFlags is obsolete. Use ATLTRACE2 instead.

int atlTraceFlags;

Used to turn on ATL's built-in reporting features. To use these flags, call ATLTRACE2 and use the category you want to trace as the first parameter. See ATLTRACE2 for a list of the categories and their descriptions.

Use ATLTRACE2 only for debug builds of your application.

You can filter for specific trace flags in your project by using the global functions ATL_TRACE_CATEGORY and ATL_TRACE_LEVEL. See ATLTRACE2 for a description of their use.