Rodrigo Bortholin wrote: > Hi, > > I am using OutputDebugString() to put some strings in the debug output, but > sometimes it can´t be done, i don´t know why. But if i put a Sleep() before > the OutputDebugString, it works. Someone knows if it is normal ? > > Thanks, > Rodrigo
There's probably an internal buffer with a fixed size and you are outputting so much data that, when it would completely fill the buffer, it simply discards the data. The debugger is simply not able to keep up with emptying the buffer. I've never run into that problem. That function is supposed to be used sparingly. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
