🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Intercepting stdio output

#13131
From: JD
Date: Tue, 28 Oct 2003 12:24
19 lines
1441 bytes
Sten Larsson <s_t_enX@Xs_ten_l.com> wrote:
> I'm starting a console app from my bcb VCL app - and I have
> researched ShellExecute() without finding what I want.

Check out WEXECLIB.ZIP in the delphi section at

      http://www.santronic.com.

This has a component with events that allows you to capture
the output of a TTY application. It uses CreateProcess with
duplicate piping methods and has an example that illustrates
how the output of a console based application is redirected to
a listbox.

However, you should be able to code it yourself. It's not that
complicated.

~ JD
Technical Details
Message-ID: <3f9e6df6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <gtaspvkdedn109r42nbva7nl34d8h7pm0a@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,16cd82df590bb170
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-28 05:39:30 PST
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Intercepting stdio output 
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.161.209.55     
References:  <gtaspvkdedn109r42nbva7nl34d8h7pm0a@4ax.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3f9e6df6$1@newsgroups.borland.com>
Date: 28 Oct 2003 05:24:06 -0700
X-Trace: newsgroups.borland.com 1067347446 207.105.83.66 (28 Oct 2003 05:24:06 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail