Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Console-Program and Pipes

Author: Odd Gunnar Malin

Date: 15:48:53 02/20/06

Go up one level in this thread


On February 20, 2006 at 15:10:35, Reinhard Scharnagl wrote:

>On February 20, 2006 at 14:59:34, Thomas Mayer wrote:
>
>>Hi Reinhard,
>>
>>On February 20, 2006 at 13:59:32, Reinhard Scharnagl wrote:
>>
>>>On February 20, 2006 at 13:39:56, Alessandro Scotti wrote:
>>>
>>>>Hi Reinhard,
>>>>xboard/Winboard has code for Unix and Windows:
>>>>
>>>>http://www.tim-mann.org/xboard.html
>>>>
>>>>On February 20, 2006 at 13:16:04, Reinhard Scharnagl wrote:
>>>>
>>>>>Hallo,
>>>>>
>>>>>I am searching for an C++ example how to call a pure text oriented windows
>>>>>program (console / terminal) as a separated process, to which communication
>>>>>should be possible via pipes and the called program's STDIN and STDDOUT streams.
>>>>>
>>>>>ich suche ein C++ Beispiel dafür, wie ein rein Text orientiertes
>>>>>Windows-Programm (Konsole / Terminal) als eigener Prozess aufgerufen werden
>>>>>kann, mit welchem dann über Pipes und STDIN- und STDOUT-Streams des gerufenen
>>>>>Programms kommuniziert werden kann.
>>>
>>>Thank you,
>>>
>>>but as far as I could see, there are no more windows based sources.
>>>I merley need a short commented example, not a whole OpenSource project ;-)
>>
>>look at epd2wb from Bruce Moreland (it is included in the gerbil package) ->
>>quite nice example and easy to understand.
>
>Hi Thomas,
>
>thank you, I found it. But it is inside of a project, so I cannot use it.
>

Maybe you can use this:

http://support.microsoft.com/default.aspx?scid=kb;en-us;190351

I didn't look too carefully but I think the original is from what I use in all
my utilities, first version early 199x. I have not looked into Moreland's code
but if my memory serve me right I think I saw something similar in
Winboard/Xboard code some years ago, probably still there.

Odd Gunnar
>>P.S.: I search for the same in Java... :) There is code in José for that, but
>>like you I would like to have something a BIT shorter... :)
>
>Good luck, Reinhard.



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.