I started a blank project in Visual Studio 2010 to write a C application. How can I send debug information to the Output window (menu Debug -> Windows -> Output )? Is there a relatively simple way to implement TRACE
or OutputDebugString
or something similar?
OutputDebugString
is the way to do it. Stack Overflow question How can I use the TRACE macro in non-MFC projects? contains information how to make something akin to MFC's TRACE
macro using OutputDebugString
.