Article View: borland.public.cppbuilder.nativeapi
Article #13133Re: Intercepting stdio output
From: Jim Dodd
Date: Tue, 28 Oct 2003 14:16
Date: Tue, 28 Oct 2003 14:16
21 lines
1680 bytes
1680 bytes
Sten Larsson wrote: > I'm starting a console app from my bcb VCL app - and I have researched > ShellExecute() without finding what I want. > > I would like to NOT display the console window and I would like to > capture the output to stdio to be displayed in the VCL app. > > Anyone know how to do this? ...or if it is possible? > > /sten > --- > For direct email, remove _ and X. Look about 25 messages above this one (titled "Redirecting stdout"). Besides the two excellent suggestions here, there is some actual code and a link to a Web site showing how you can do it yourself. Regards, Jim Dodd Onset Computer Corp.
Technical Details
Message-ID:
<3f9e7a48$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-mailReferences:
<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 06:40:28 PST Date: Tue, 28 Oct 2003 09:16:43 -0500 From: Jim Dodd <bcbuilderboy@yahoo.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Intercepting stdio output References: <gtaspvkdedn109r42nbva7nl34d8h7pm0a@4ax.com> In-Reply-To: <gtaspvkdedn109r42nbva7nl34d8h7pm0a@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.161.163.42 Message-ID: <3f9e7a48$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067350600 65.161.163.42 (28 Oct 2003 06:16:40 -0700) Lines: 22 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