Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How do Applications communicate through pipes?

Author: Odd Gunnar Malin

Date: 23:12:55 04/11/05

Go up one level in this thread


On April 11, 2005 at 16:00:05, Anson T J wrote:

>I'm trying to get one application to communicate with another using pipes. I am
>programming in Delphi 7 and just wish to read and write "readln" and "writeln"
>data from one application to another.
>
>I need to make a "parent" program which starts the "child" program and is able
>to send commands and receive the outputs from the child program (which uses
>stdout / writeln).
>
>I'll be grateful to hear your solutions.
>
>Thanks in advance,
>
>Anson

Hi.

The 'parent' document I learned this from the first time (or very similar) is
still found at Msdn:
http://msdn.microsoft.com/library/en-us/dllproc/base/creating_a_child_process_with_redirected_input_and_output.asp

It isn't in pascal but at least you can read the comments and snap up the api
calls.

Odd Gunnar



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.