Article View: borland.public.cppbuilder.nativeapi
Article #10756Re: Detecting a process being killed
From: Leo Havm�ller
Date: Wed, 24 Mar 2004 05:31
Date: Wed, 24 Mar 2004 05:31
11 lines
1457 bytes
1457 bytes
> but "ImDead" never gets called upon termination. Is there any other > mechanism that a process can use to detect if it's being killed? No: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/terminateprocess.asp "Neither the process nor any DLLs attached to the process are notified that the process is terminating. A process cannot prevent itself from being terminated." Leo Havm�ller.
Technical Details
Message-ID:
<40611d36@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-05!sn-xit-09!supernews.com!129.250.16.78.MISMATCH!peer1.stngva01.us.to.verio.net!news.verio.net!skynet.be!newsfeed.wirehub.nl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4060d44c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,4e1de9246721b866 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-23 21:39:26 PST From: "Leo Havm�ller" <leh@-nospam-rtx.dk> Newsgroups: borland.public.cppbuilder.nativeapi References: <4060d44c@newsgroups.borland.com> Subject: Re: Detecting a process being killed Date: Wed, 24 Mar 2004 06:31:38 +0100 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.63.27.146 Message-ID: <40611d36@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1080106294 80.63.27.146 (23 Mar 2004 21:31:34 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-05!sn-xit-09!supernews.com!129.250.16.78.MISMATCH!peer1.stngva01.us.to.verio.net!news.verio.net!skynet.be!newsfeed.wirehub.nl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail