🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Kill a process

#16410
From: Juan Diego Garc�s
Date: Thu, 15 May 2003 13:44
10 lines
1174 bytes
I have two three application. The first one launches a process (with the
CreateProcess API) called X, and from the second I have to stop this
process.

I found the TerminateProcess API, but the first parameter is the andle to
the process. Is there an API to get this handle?

Thanks

Juan Diego Garc�s
Technical Details
Message-ID: <3ec399e6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,877e15afb2c6135d,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-15 06:51:11 PST
From: "Juan Diego Garc�s" <jgarces@amics.ch>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Kill a process
Date: Thu, 15 May 2003 15:44:27 +0200
Lines: 12
Organization: Amics Technology
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: 213.3.1.248
Message-ID: <3ec399e6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1053006310 213.3.1.248 (15 May 2003 06:45:10 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail