🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Terminate a Process

#15836
From: Vladimir Afanasyev
Date: Mon, 09 Jun 2003 07:41
18 lines
1708 bytes
"Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> wrote:
>The TM only resorts to brute-force terminations when it absolutely has to,a
>nd not before then.
>

About brute-force terminations you evidently mean TerminateProcess.

I thinked about using CreateRemoteThread and ExitProcess instead 
TerminateProcess for "clear" termination (for Win NT/2000/XP). 
It seems to be possible.
Just some days before I find article in Windows Developers Journal by Andrew Tucker "A Safer Alternative to 
TerminateProcess()" where he used these possibility.
The article is accessible in online - www.wdj.com, 
Article Archives, 07.1999. 
I am not sure that it always work but it looks interesting.

Vladimir.
Technical Details
Message-ID: <3ee43a32$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!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3edfee6d@newsgroups.borland.com> <3edff711$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,af910d70e1d925e2
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-09 00:46:24 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: Terminate a Process
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.244.14.114 62.244.14.114    
X-Forwarded-For: 192.168.0.147
References: <3edfee6d@newsgroups.borland.com> <3edff711$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3ee43a32$1@newsgroups.borland.com>
Date: 9 Jun 2003 00:41:38 -0700
X-Trace: newsgroups.borland.com 1055144498 207.105.83.65 (9 Jun 2003 00:41:38 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail