Article View: borland.public.cppbuilder.nativeapi
Article #4125How to check status of app launched by ShellExecuteEx()
From: Wiebe Vos
Date: Sun, 19 Mar 2006 21:08
Date: Sun, 19 Mar 2006 21:08
8 lines
1164 bytes
1164 bytes
I launch a (console) app via ShellExecuteEx() and use the hProcess handle in SHELLEXECUTEINFO to terminate it later via TerminateProcess(). How can I check in the meantime if the app is still running and not been terminated by someone else? Thanks in advance, Wiebe
Technical Details
Message-ID:
<441dc83a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,380f727a338f7f53,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Wiebe Vos" <wiebe@foxware.nl> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to check status of app launched by ShellExecuteEx() Date: Sun, 19 Mar 2006 22:08:02 +0100 Lines: 10 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: 62.131.171.202 Message-ID: <441dc83a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1142802490 62.131.171.202 (19 Mar 2006 13:08:10 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail