TRACE Macro is a part of the MFC, isn't it?
How to use TRACE Macro if I don't use MFC?
To display messages from your program in the debugger Output window, you can use the ATLTRACE macro or the MFC TRACE macro. Like assertions, the trace macros are active only in the Debug version of your program and disappear when compiled in the Release version.