Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to implement autoplay

Author: Tony Werten

Date: 09:02:49 11/11/02

Go up one level in this thread


On November 11, 2002 at 11:25:07, Gerd Isenberg wrote:

>On November 11, 2002 at 11:12:39, Russell Reagan wrote:
>
>>What happens when you write to standard output from a windows application? I've
>>heard it's possible to communicate with Winboard via a windowed application
>>rather than a console application.
>
>Hmm, never tried it. I guess stderr is directed to some debug output window of
>the MSDEV-Ide, but stdout, don't know. I use CFile or derivates, to read or
>write to files.

I use this stdin and out in XiniX. Doing a "normal" read and write is enough to
communicate with winboard. Only sideeffect: If I do this stuf when XiniX is not
not started as a named pipe (ie not in winboard), I crash windows :)

Tony

PS for writing I use the windowscall _lwrite, for reading read.

>
>Gerd



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.