๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do I get a list of running processes?

#17236
From: nicolasr
Date: Mon, 31 Mar 2003 09:26
22 lines
1631 bytes
Hi,

the WinAPI help has a chapter "Microsoft Programmers guide to Windows 95".
Here you'll find documentation of the Tool help library. Especially have a
look at the functions Process32First/Process32Next. There is also example
code on how to get a list of all processes. Enter "Taking a snapshot and
viewing processes" in the help index and you should find it.

hope it helps,
Nick

"Gintaras Kekys" <gintaras@sb.lt> escribi๏ฟฝ en el mensaje
news:3e87fb2b$1@newsgroups.borland.com...
> Hi.
>
> How do I get a list of running processes along with their Ids? I need find
> and kill process by it's name.
>
> Gintaras
> Lithuania
>
>
Technical Details
Message-ID: <3e8809b1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news.linkpendium.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e87fb2b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,6d46149fafc69d7b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-31 01:37:42 PST
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e87fb2b$1@newsgroups.borland.com>
Subject: Re: How do I get a list of running processes?
Date: Mon, 31 Mar 2003 11:26:20 +0200
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 80.133.163.35
Message-ID: <3e8809b1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049102769 80.133.163.35 (31 Mar 2003 01:26:09 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news.linkpendium.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail