🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#17366
From: CapStick
Date: Sat, 05 Apr 2003 19:25
31 lines
1878 bytes
"Vladimir Afanasyev" <avv@systema.kiev.ua> wrote in message
news:3e880c8b$1@newsgroups.borland.com...
>
> Hi,
>
> "Gintaras Kekys" <gintaras@sb.lt> wrote:
> >Hi.
> >
> >How do I get a list of running processes along with their Ids? I need
find
> >and kill process by it's name.
> You can use WMI for it. WMI native for Win2000/XP but
> for Win95/98/NT you need to install WMI Core:
> Let us try WMI (samples)
> http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=19443
>
> Another way you can find in the follow page:
> HOWTO: Enumerate Applications Using Win32 APIs
> http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B175030
>
> Vladimir.

you may find a prog on codecentral of use its called KillProc.c



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003
Technical Details
Message-ID: <3e8f2d31@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e87fb2b$1@newsgroups.borland.com> <3e880c8b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6d46149fafc69d7b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-05 11:28:04 PST
From: "CapStick" <lol@ljones81.fsnet.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
References:  <3e87fb2b$1@newsgroups.borland.com> <3e880c8b$1@newsgroups.borland.com>
Subject: Re: How do I get a list of running processes?
Date: Sat, 5 Apr 2003 20:25:33 +0100
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 217.135.118.135
Message-ID: <3e8f2d31@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049570609 217.135.118.135 (5 Apr 2003 11:23:29 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail