This global function provides debugging messages about how events and methods happen. AtlTrace2 reports warnings and errors that occur as you debug the program. AtlTrace2 sends a formatted string, lpszFormat, to a dump device, usually the debugger output window or a file.
Use AtlTrace2 only for debug builds of your application.
At a Glance
Header file: | Atlbase.h |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
Syntax
AtlTrace2( DWORD category, UINT level, LPCSTR lpszFormat, ... )
See Also