Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Debugging and Error Reporting Macros

These macros provide useful debugging and trace facilities.

_ATL_DEBUG_INTERFACES

Writes, to the output window, any interface leaks that are detected when _Module.Term is called.

_ATL_DEBUG_QI

Writes all calls to QueryInterface to the output window.

ATLASSERT

Performs the same functionality as the _ASSERTE macro found in the C run-time library.

ATLENSURE

Performs parameters validation. Call AtlThrow if needed

ATLTRACENOTIMPL

Sends a message to the dump device that the specified function is not implemented.

ATLTRACE

Reports warnings to an output device, such as the debugger window, according to the indicated flags and levels. Included for backward compatibility.

ATLTRACE2

Reports warnings to an output device, such as the debugger window, according to the indicated flags and levels.

Community Additions

ADD
Show:
© 2015 Microsoft