Author: F. Huber
Date: 15:22:21 06/28/04
Go up one level in this thread
On June 28, 2004 at 18:02:44, Scott Gasch wrote: >On June 28, 2004 at 17:10:35, F. Huber wrote: > >>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! > >Look at the Win32 CreateProcess call's creation flags. Specifically, don't call >with CREATE_NEW_CONSOLE and the new process will run in the current console. >You might also be interested in CREATE_NO_WINDOW. > >Good luck, >Scott Hi Scott, CREATE_NEW_CONSOLE I´ve already tried of course, but then I had no output at all! The value CREATE_NO_WINDOW I´ve really seen _nowhere_ in the WinAPI help!? I guess that´s the same as simply omitting CREATE_NEW_CONSOLE? But all this is only one part (and the easier one) of my problem - tha main problem is not to hide my console window, but to bring its output to another window! Regards, 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.