Article View: borland.public.cppbuilder.nativeapi
Article #9328How to terminate a process created by another user
From: Sky
Date: Fri, 16 Jul 2004 02:58
Date: Fri, 16 Jul 2004 02:58
12 lines
1069 bytes
1069 bytes
Hi all I want to terminate a process EnumProcess()->OpenProcess()->TerminateProcess() but if the process was created by another user, I can not get its HANDLE from OpenProcess(), Is there a good solution? Any hint will be great appreciated. Sky
Technical Details
Message-ID:
<40f744c0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9d00cf3884ec5bb6,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Sky" <akeehuang@163.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to terminate a process created by another user Date: Fri, 16 Jul 2004 10:58:15 +0800 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 218.85.121.51 Message-ID: <40f744c0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089946816 218.85.121.51 (15 Jul 2004 20:00:16 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail