Computer Chess Club Archives


Search

Terms

Messages

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

Author: J. Wesley Cleveland

Date: 21:59:30 01/31/00

Go up one level in this thread


On January 31, 2000 at 18:59:55, Tom Kerrigan wrote:

>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

It does something nasty to stdio if you try to run the profiler from the IDE.
Try opening a console window and running the profiler programs by hand or with a
batch file.



This page took 0 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.