🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Launcing a child process from VCL - re-direct STDIO

#11820
From: Tom Caton
Date: Fri, 16 Jan 2004 15:11
7 lines
1354 bytes
I want to press a button on my form to launch another windows process, while
the process is running I want to redirect the child's process stdout into a
VCL memo box.
I can do it fine with _popen for a console application - but as soon as I
try it from a GUI (VCL) popen always returns NULL.
Any help gratefully received
Tom
Technical Details
Message-ID: <4007ff0d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-05!sn-xit-08!supernews.com!newsfeed.news2me.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f909270c27571224,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-16 07:40:38 PST
Reply-To: "Tom Caton" <tom_caton@xyratex.com>
From: "Tom Caton" <tom_caton@xyratex.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Launcing a child process from VCL - re-direct STDIO
Date: Fri, 16 Jan 2004 15:11:09 -0000
Lines: 9
Organization: Xyratex
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 194.131.166.4
Message-ID: <4007ff0d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074265869 194.131.166.4 (16 Jan 2004 07:11:09 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-05!sn-xit-08!supernews.com!newsfeed.news2me.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail