RE: [Dev-C++] Newbie Question: Writing Ouput to the Debug Window
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Guillermo G. <ggu...@ma...> - 2005-06-09 12:41:44
|
Just a guess from an observer but, out of curiosity, since this is a =
WIN32 API call have you included the windows.h and maybe the winbase.h =
header files?
ex: #include <windows.h>
#include <winbase.h>
if you have, forgive my uninformed suggestion.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Chris
Share
Sent: Thursday, June 09, 2005 3:42 AM
To: Per Westermark
Cc: dev...@li...
Subject: Re: [Dev-C++] Newbie Question: Writing Ouput to the Debug
Window
Hi,
Thanks for your help.
I've tried adding the following code to my program however it doesn't=20
seem to be doing anything:
LPCTSTR lpsz =3D "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.
>=20
> 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
>=20
> /Per W
>=20
> On Wed, 8 Jun 2005, Chris Share wrote:
>=20
>=20
>>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=3D20
>>_______________________________________________
>>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
>>
>=20
>=20
>=20
-------------------------------------------------------
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. =20
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20
_______________________________________________
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
|