Article View: borland.public.cppbuilder.nativeapi
Article #9329Re: How to terminate a process created by another user
From: Remy Lebeau (TeamB)
Date: Fri, 16 Jul 2004 03:11
Date: Fri, 16 Jul 2004 03:11
17 lines
1375 bytes
1375 bytes
"Sky" <akeehuang@163.com> wrote in message news:40f744c0$1@newsgroups.borland.com... > 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(), You probably don't have access to the other user's processes and resources. If that is the case, then there is probably nothing you can do about it. Why do you want to terminate someone else's processes? Gambit
Technical Details
Message-ID:
<40f7472a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40f744c0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9d00cf3884ec5bb6 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40f744c0$1@newsgroups.borland.com> Subject: Re: How to terminate a process created by another user Date: Thu, 15 Jul 2004 20:11:18 -0700 Lines: 19 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: 68.69.17.41 Message-ID: <40f7472a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089947434 68.69.17.41 (15 Jul 2004 20:10:34 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail