Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: winboard programming. Need Help!!

Author: James Robertson

Date: 18:04:23 09/04/98

Go up one level in this thread


On September 04, 1998 at 16:35:13, Inmann Werner wrote:

>I try to write an interface for my program to winboard.
>Rather frustrating!
>I tried to write a simple testprogram, only trying to communicate with winboard.
>No result.
>
>How do I get input from Winboard and how can I output to winboard.
>
>I also looked at crafty source but I did not really find something. (What should
>I search?)
>
>I work with Watcom C and compile for Windows NT. I thought, the Input comes from
>stdin (like Auto232), but.....
>
>I start winboard with:
>winboard /cp /fcp=test.exe /fd="c:\watcom\binw\neuschach\win" /scp=test.exe
>/sd="c:\watcom\binw\neuschach\win"
>and both programs open. But thats it. If I send with CTRL ALT 1 nothing happens.
>
>I am fully stuck, and that frustrates me a lot.
>
>Any tips?
>
>Werner

Definately look at the source code to Arasan. It has an excellent fairly easy to
follow method of handling Winboard communication, and I think it is compatible
with C. Arasan's home is:
http://www.best.com/~jdart/arasan.htm

Download the source and look at the main() and parse_command() (I think that is
what it is called) functions.
Hope this helps
James



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.