Author: F. Huber
Date: 09:04:33 06/29/04
Go up one level in this thread
Hello, finally I´ve now solved my problem (after a few ´bluescreens´ ;-)). The key to my solution was indeed a simple unnamed pipe - although I´ve never used such pipes before, it was quite easy: 1) creating an unnamed pipe 2) calling the process ´Py.exe´ (as a hidden new console) with re-directing its standard output to the write-handle of the pipe 3) creating an extra thread, which reads from the read-handle of the pipe and sends this input to the chess-GUI (while my main program is waiting for ´Py´ to finish its execution) That´s all! :) So my PopeyeUCI already shows the current search depth, move number and move, and also displays any found key move and even executes it (so no popup window with Popeye´s calculation is needed any more). The only thing I´m still missing is sending the complete PV to the GUI - this will be a quite hard task (since Popeye´s output is very complicated), but I´m working on it ... (you will see the results in the next PopeyeUCI release :-)) Many thanks again to all who gave me some hints, Franz.
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.