Author: F. Huber
Date: 14:10:35 06/28/04
Hello experts, I´ve now implemented an auto-search mode in PopeyeUCI, which is looking for the shortest solution in a loop (starting with mate in 1). It is already working without any problems, but one thing is bothering me: In this loop PopeyeUCI is calling the console application ´Py.exe´ for each iteration, and so everytime a new console window is appearing (which shows the search progress of Popeye) - and that doesn´t really look good! So I would prefer another method: I would like to open a window (preferable NOT a console window is possible!) BEFORE this loop, then starting the loop calling ´Py.exe´ (in a hidden status), and this console progam should show its output in the previously opened window - IOW all standard output of each iteration of ´Py.exe´ should be re-directed to this single window and be displayed there! Although I´ve almost tried every Windows procedure that I´ve found in the WinAPI help (which might be able to solve this problem), I was not successful yet - but I´m not really a Windows programmer. So I hope, that anyone here can help me and give me a solution for this problem. My programming language is ´Borland Delphi´, but I would probably also understand a solution in ´C´ (since the WinAPI calls are almost the same). But it should be a quite detailed description - a simple "use CreateProcess or CreateWindow..." would not be sufficient for me, because that´s what I´ve tried already in the last two days ... Best regards, Franz.
This page took 0.01 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.