Re: [Dev-C++] Newbie Question: Writing Ouput to the Debug Window
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Chris S. <csh...@qu...> - 2005-06-09 10:41:50
|
Hi, Thanks for your help. I've tried adding the following code to my program however it doesn't seem to be doing anything: LPCTSTR lpsz = "Hello!"; OutputDebugString(lpsz); What am I missing? Cheers, Chris Per Westermark wrote: > You may use the Win32 API: > OutputDebugString(LPCTSTR lpsz); > to emit debug messages. > > For just looking at the debug output, a really great program is DebugView > which you can retrieve from > http://www.sysinternals.com/Utilities/DebugView.html > > /Per W > > On Wed, 8 Jun 2005, Chris Share wrote: > > >>Hi, >> >>I'm interested in moving my development work from Visual Studio to >>wxDev-C++. >> >>In VS I've been using TRACE to output to the debug window and find this >>very useful. I've had a look through wxDev-C++'s online help but can't >>find any mention of how to do this. >> >>Is there something equivalent to TRACE in wxDev-C++? >> >>Cheers, >> >>Chris >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >>a projector? How fast can you ride your desk chair down the office luge track? >>If you want to score the big prize, get to know the little guy. >>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> > > > |