Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Works in win 98, crashes on xp.

Author: Andreas Herrmann

Date: 06:41:09 09/06/03

Go up one level in this thread


On September 05, 2003 at 18:52:20, macaroni wrote:

>I recently had a chance to try my program out on an excellent computer (1.4 g
>centrino), I happily downloaded winboard, and copied my programs exe file across
>hoping to see the knps rocket. Instead, the program 'exited unexpectantly' for
>seemingly no reason. It did this whether I ran it from winboard, or on it's own
>(not that it works on it's own anyway). Is this standard? must I in fact compile
>the program on the win xp machine? I do use the function 'PeekNamedPipe' in my
>program. Could this be causing the problem? Thanks
>
>note that GNUchess ran perfectly (and fast)

If you want to use the win api function ReadFile, then you should first use
PeekNamedPipe to look how much bytes are in the read buffer.

Andreas




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.