Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question to Windows programmers

Author: Scott Gasch

Date: 15:02:44 06/28/04

Go up one level in this thread


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



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.