Article View: borland.public.cppbuilder.nativeapi
Article #9330Re: How to terminate a process created by another user
From: Sky
Date: Fri, 16 Jul 2004 06:01
Date: Fri, 16 Jul 2004 06:01
26 lines
1864 bytes
1864 bytes
I have a samll program that controls certain hardware, for accessing the hardware successfully, the program must keep only one instance, for communicating with other programs, I placed a COM interface into the program, If i use the COM client from windows Application, it works OK, even there are more than one COM clients. but if i used the interface in the Web Application(ASP) the program was started separated, and it can not be closed when the web app closed, the user is 'ASPNET', not current user. so if I want to use the component in the windows app, I must close the old instance at first, any hint? note: the program started under the same user loaded. > > 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:
<40f76fc3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40f744c0$1@newsgroups.borland.com> <40f7472a$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: "Sky" <akeehuang@163.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40f744c0$1@newsgroups.borland.com> <40f7472a$1@newsgroups.borland.com> Subject: Re: How to terminate a process created by another user Date: Fri, 16 Jul 2004 14:01:19 +0800 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 218.85.121.51 Message-ID: <40f76fc3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089957827 218.85.121.51 (15 Jul 2004 23:03:47 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail