Author: Roy Eassa
Date: 07:38:05 06/11/02
Go up one level in this thread
On June 11, 2002 at 05:15:31, Adam Oellermann wrote: >Hi there, > >The StdIOConnector COM component is now available from the Skaar project >(http://www.oellermann.com/skaar). It's open source (written in Delphi) and very >easy to use. WinBoard and UCI protocol support coming soon. > >Cheers >Adam > ><start blurb> >StdIOConnector is intended to allow Windows programmers a simple way to control >programs via their STDIN/STDOUT without having to write complex threaded code >for creating and managing pipes and processing. > >The component is a COM component, accessible from VB, Delphi, C++ and a range of >other environments. Simple methods and events make it trivial to implement a >connection with a command-line program such as a WinBoard-compatible chess >engine. >The component polls for data from the connected program in a separate thread, >and is >therefore able to continuously monitor output without needing to interrupt your >processing. When data arrives from the connected program, events are raised; >your code can respond to the appropriate set of events. > >The author's initial goal is to use this to communicate with WinBoard engines, >although their is clear potential to use StdIOConnector to create standardised >WinBoard-like interfaces for other games. The enormous benefit that WinBoard >has been to the chess programming community is well-known; it is hoped that in >a small way, this might help spread the joy. ><end blurb> Cool! 2 quick questions: 1) Are there any return/error values from the methods Connect, Disconnect, or SendData? 2) A programmer is free to ignore OnRecieveData events and just focus on OnReceiveCommand events, right? Thanks for the great work!
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.