outputdebugstring

In Delphi, is outputdebugstring thread safe?

Simple question i belive, is outputdebugstring(pansichar('')); Thread safe? I/We have been using it in threads for debugging, and i never occurred to me if i should be doing it a different way. (delphi7) ...

BugTrap and RapiDbg on Windows Mobile 6.0

I'm trying to port a driver and a few applications from a PDA running PocketPC 2003 (Windows CE 4.21) to one running Windows Mobile 6 (CE 5.2). Does anybody know if/how I can log the OutputDebugString calls made by the driver, short of using the Platform Builder or any custom OS image? Porting is 99% complete, but I need to troublesho...

OutputDebugString + DebugView = not tabs!

I am dumping \t delimited data using using OutputDebugString and then use ex-Sysinternals DebugView to capture it. The problem is that all the data in DebugView appear to be space delimited, hence I need to perfrorm CTRL+H "\x20" "t" to replace spaces with the tabs before I can use it (I really need tab delimited data). Is there anywa...

calling std::cout.rdbuf() produces syntax error

Maybe I missed something, but I cant figure out why Visual Studio 2008 isn't seeing the rdbuf() procedure. Here is my code: 16. #include "DebugBuffer/BufferedStringBuf.h" 17. 18. BufferedStringBuf debug_buffer(256); 19. std::cout.rdbuf(&debug_buffer); The BufferedStringBuf class is from this page: http://www.devmaster.net/forums/showt...

Can output from OutputDebugString be viewed in VisualStudio's output window

I am using C# and VS2010. When I use OutputDebugString to write debug information, should it show up in the output window? I can see the output from OutputDebugString in DebugView, but I thought I would see it in Visual Studio's Output window. I have looked under Tools->Options->Debugging->General and the output is NOT being redirecte...

Bypass OutputDebugString in Delphi 7?

I'm wondering if it's possible to bypass the OutputDebugString? I'd like the OutputDebugString output showing up in DebugView and not in the internal Delphi Event Viewer window. But i can't find a way to tell Delphi not to swallow the OutputDebugString. Any ideas? regards ...