🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Create Process and dying parents...

#4015
From: Remy Lebeau (TeamB)
Date: Fri, 31 Mar 2006 19:03
15 lines
1459 bytes
"peter" <pnandrus@attglobal.net> wrote in message
news:442d4576$1@newsgroups.borland.com...

> What's the easiest way to check if a certain process is still
> alive once I have the process ID?

You have to enumerate through all of the running processes until you find
(or don't find) the ID.  Look at the following article for details:

    How To Enumerate Applications Using Win32 APIs
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;q175030


Gambit
Technical Details
Message-ID: <442d7e31$5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.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
References: <442c3cf4$1@newsgroups.borland.com> <442c59a6$1@newsgroups.borland.com> <442d4576$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5f01f131eb370203
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <442c3cf4$1@newsgroups.borland.com> <442c59a6$1@newsgroups.borland.com> <442d4576$1@newsgroups.borland.com>
Subject: Re: Create Process and dying parents...
Date: Fri, 31 Mar 2006 11:03:20 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <442d7e31$5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1143832113 68.69.17.41 (31 Mar 2006 11:08:33 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.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