Article View: borland.public.cppbuilder.nativeapi
Article #4905Spawning and controlling
From: Denville Longhurst
Date: Fri, 11 Nov 2005 15:02
Date: Fri, 11 Nov 2005 15:02
17 lines
1368 bytes
1368 bytes
Hi From within my application, I would like to spawn an arbitrary third party application (say foo.exe) in the following way: 1. Check whether foo.exe is already running so that I don't attempt to run it twice; 2. Spawn foo.exe 3. Make foo's parent my application, so that it displays within one of my windows; 4. From my app, terminate foo.exe I can probably cope with (3), but I am at a loss about how to do the rest. Many thanks in advance, Denville.
Technical Details
Message-ID:
<4374b248$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d85ed3b722a8f188,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Denville Longhurst" <Denville@metco.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Spawning and controlling Date: Fri, 11 Nov 2005 15:02:04 -0000 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 80.0.6.88 Message-ID: <4374b248$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1131721288 80.0.6.88 (11 Nov 2005 07:01:28 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail