On March 13, 2003 02:13 am, Marcus Meissner wrote:
It is constructing lines of debugoutput out of different pieces. How to do that with TRACE?
Just don't put the \n at the end of the TRACE:
TRACE("you "); TRACE("can "); TRACE("do "); TRACE("this\n");
It should result in:
'you can do this'
and it should be safe from threading issues, IIRC (the output should be buffered in a thread-local buffer). (I'm too lazy to check right now, I'm hoping someone will screem bloody murder if I'm wrong :)).