Article View: borland.public.cppbuilder.nativeapi
Article #14246Re: Redirect the output text of an external DOS program
From: Michel Leunen
Date: Sat, 23 Aug 2003 08:22
Date: Sat, 23 Aug 2003 08:22
16 lines
1565 bytes
1565 bytes
Zlika wrote: > I use the "ShellExecute" function to launch an external DOS program from my > application. I would like to redirect the output text of the DOS program to > a TMemo object within my application. How can I do this? Here is a working sample : http://www.leunen.com/cbuilder/redirect.html Michel -- ---------------------------------------- Michel Leunen mailto:michel@leunen.com http://www.leunen.com/cbuilder/ ----------------------------------------
Technical Details
Message-ID:
<3f47245e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f470e12@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,4eee751a7aaf3f47 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-23 01:26:58 PST Date: Sat, 23 Aug 2003 10:22:45 +0200 From: Michel Leunen <mleu@skynet.be> Organization: http://www.leunen.com/cbuilder/ 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: Redirect the output text of an external DOS program References: <3f470e12@newsgroups.borland.com> In-Reply-To: <3f470e12@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.200.24.86 Message-ID: <3f47245e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061626974 80.200.24.86 (23 Aug 2003 01:22:54 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail