Author: Robert Hyatt
Date: 18:46:14 04/24/04
Go up one level in this thread
On April 24, 2004 at 21:28:57, Mike Byrne wrote: >This is the Windows source for "C" for move annoucnement. It's a separate >program that Crafty/windows calls for move annoucnement. I would like to embed >this program into Crafty so a user would not need two separate programs. > >Any ideas the best way to do this - I have tried - but not knowing enough about >programming, all my attempls have failed. If I were doing it in unix, I'd do it like this: 1. set up a pipe using the pipe() system call; 2. fork() a second process, but all this second process does is call the "speak" C procedure and do nothing but read from the pipe and then do whatever is necessary to send the .wav output... 3. First process (original chess engine) just does writes to the pipe to get the second process to parse and output the .wav stuff... Windows has similar facilities but I'm not a windows programmer...
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.