Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How does one get OutputDebugString (or similar process) to work in C++Builder5 STANDARD (without Event Log)???

186 views
Skip to first unread message

thinkeriam

unread,
Feb 4, 2002, 3:38:58 AM2/4/02
to
Hello,

As C++Builder 5.0 Standard does not have the Event Log I am in a bit of a
dillema as to how to get OutputDebugString() to work from within units as a
very usefull part of the debugging process. I have upgraded from
C++Builder 1.0 Standard where using OutputDebugString was simple with a
dedicated editor file showing the output. I was amazed that C++Builder 5
Standard did not have a similar basic functionality (although I am sure that
those people with Event Log will see that as a significant enhancement over
old ways). I am seeking information on how to overcome the above problem or
how to achieve a similar debugging insight as provided by OutputDebugString.
I am working on a stand alone application so solutions involving clients
will not be of help in my situation.

Thank You in advance
Ken Wilmott


Remy Lebeau

unread,
Feb 4, 2002, 3:56:24 AM2/4/02
to
It doesn't???


Gambit

"thinkeriam" <pri...@iinet.net.au> wrote in message news:3c5e48a2_1@dnews...

> As C++Builder 5.0 Standard does not have the Event Log

<snip>


thinkeriam

unread,
Feb 4, 2002, 4:15:07 AM2/4/02
to
It doesn't, please see the debugging feature matrix at
http://www.borland.com/bcppbuilder/productinfo/feamatrix/debugging.html

My C++Builder 5.0 Standard software actually doesn't have the Event Log
available under any of the the menus where the help files say it should be
which aggrees with the matrix data at the above site.

Ken


"Remy Lebeau" <gamb...@gte.net> wrote in message news:3c5e4d78_1@dnews...

Leo Havmøller

unread,
Feb 4, 2002, 6:14:23 AM2/4/02
to
> As C++Builder 5.0 Standard does not have the Event Log I am in a bit of a
> dillema as to how to get OutputDebugString() to work from within units as
a
> very usefull part of the debugging process.

Goto www.sysinternals.com and download DebugView.

Leo Havmøller.


thinkeriam

unread,
Feb 4, 2002, 10:31:18 AM2/4/02
to
Leo,

I have downloaded DebugView but could not get it to work with my C++Builder5
as it requires a network and I have a stand alone computer setup (using
windows XP).
So it does not solve the problem for me.
Thanks all the same.

Ken

"Leo Havmøller" <leh@-nospam-rtx.dk> wrote in message
news:3c5e6d0f_2@dnews...

Jonathan Arnold

unread,
Feb 4, 2002, 11:06:19 AM2/4/02
to
> So it does not solve the problem for me.

Okay, I've uploaded my simple debug output viewer to my web site. It isn't
very elaborate, but give it a try. It works for all WinNT family computers
(*not* Win9x).

--
Jonathan Arnold C/C++/CBuilder Keen Advice:
http://www.keen.com/categories/categorylist_expand.asp?sid=5156620
Comprehensive C++Builder link site:
http://www.buddydog.org/C++Builder/c++builder.html

Ernest Schloesser

unread,
Feb 4, 2002, 3:02:50 PM2/4/02
to
It does work for me:
I use
char str[20];
wsprintf(str,"TX: 0x%02X",ch);
OutputDebugString(str);
all the time. Output is send to the IDE debug message window.

Ernest.

"thinkeriam" <pri...@iinet.net.au> schrieb im Newsbeitrag
news:3c5e511d_2@dnews...

Leo Havmøller

unread,
Feb 5, 2002, 12:51:00 AM2/5/02
to
"thinkeriam" <pri...@iinet.net.au> wrote in message news:3c5ea947_2@dnews...

> Leo,
>
> I have downloaded DebugView but could not get it to work with my
C++Builder5
> as it requires a network and I have a stand alone computer setup (using
> windows XP).

You got it wrong. It doesnt require network, and it's not for C++ Builder,
its for your application.
It captures OutputDebugString from any application.

Leo Havmøller.


thinkeriam

unread,
Feb 5, 2002, 8:57:51 AM2/5/02
to
Yes, I did get it wrong.
DebugView enables me to use outputdebugstring from my application.
Thanks for that.

Ken Wilmott

"Leo Havmųller" <leh@-nospam-rtx.dk> wrote in message
news:3c5f72c7_2@dnews...

> Leo Havmųller.
>
>


thinkeriam

unread,
Feb 5, 2002, 9:00:14 AM2/5/02
to
I gave it a try and it works.
Thanks

Ken Wilmott

"Jonathan Arnold" <jdar...@buddydog.org> wrote in message
news:3C5EB17B...@buddydog.org...

0 new messages