🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10007

Re: Controlling another application

#10007
From: Eugene Mayevski [SecureBlackbox]
Date: Sat, 29 May 2004 13:32
14 lines
1468 bytes
Bolek wrote:

> I would like to control a command=line app from my program. I tried to 
> do this by opening a pipe and specifying that pipe as the standard input 
> handle in CreateProcess = but it does not work. I send my code, too. I 
> run it on WinXP SP1. How can I make it work? Thanks.

You need to use anonymous pipes, I think.

-- 
Eugene Mayevski
EldoS Corp., CTO
Security and networking solutions
http://www.eldos.com
Technical Details
Message-ID: <40b89115$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40b882fd@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5907943efec0dea8
X-Google-Attributes: gid10cc67,public
Date: Sat, 29 May 2004 16:32:55 +0300
From: "Eugene Mayevski [SecureBlackbox]" <mayevski@eldos.org>
Organization: EldoS Corporation
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, ru, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Controlling another application
References: <40b882fd@newsgroups.borland.com>
In-Reply-To: <40b882fd@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 82.144.222.199
Message-ID: <40b89115$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1085837589 82.144.222.199 (29 May 2004 06:33:09 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail