Computer Chess Club Archives


Search

Terms

Messages

Subject: Profiling with Visual C++ 5 and 6: a story of woe

Author: Tom Kerrigan

Date: 15:59:55 01/31/00


Up until now, I've used VC++ 5.

My chess program is a "Win32 Console Application."

Try as I might, I could NOT get the VC++ 5.0 profiler to work. It showed me some
dialog boxes and then it did absolutely nothing. I messed with this for hours on
end and still could not get it to do a damn thing.

Today I got VC++ 6.

I ran the profiler and it does something!!! Imagine my joy! Here's what it does:
it brings up the Console window. So far so good. Then it prints the following
line over and over and over again in the little "Output" window:

stobor> Illegal move.

Evidently VC++ keeps sending my program the string "ÖA", whatever that means.
There is some other bizarre behavior, like not opening a log file. If I press
Control-C in the Console window, the little "Output" window will display the
profiling results. Namely, that my program spent the entire time printing stuff
out.

Does anybody know how to make this work?? :(  I really appreciate it in advance.

-Tom



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.