I'm working with some C legacy code using the VC++ IDE. Is there a way I can use OutputDebugString to display messages into the output window?

Or if I can't use C++ api's in a C environment, is there any other way?

Regards