Re: Application getting launched in other user accout
- From: "CreateWindow" <createwindow@xxxxxxxxx>
- Date: Sat, 12 May 2007 09:30:44 +1000
Hi Yatrik,
Well it gets complex at this point as I don't know what you are trying to
achieve. The Desktop thread switching is tied into what you are noticing. I
recommend you *don't* make the service interactive at all - as this
historically causes problems - especially when the desktop switches to the
screen saver desktop.
A simple way that I use, is to create a GUI process to control your service
via a regular shell exe application. You can then share a simple data file
between your service process and your desktop application to communicate
between them. All you need to ensure is that you control access to the file
using a named Mutex kernel object so that your application and the service
don't write to the file at the same time!
Good luck
CreateWindow
<yatriksachdeva@xxxxxxxxx> wrote in message
news:1178891557.542290.310350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 11, 6:06 pm, "CreateWindow" <createwin...@xxxxxxxxx> wrote:
Hi,
I need some more info. Was it installed with the .NET service installer
or
InstallShield or native API?
What is it? I need more information - if I can help you. Was it marked
Interactive? Etc. ??
Is it written in C ?
CreateWindow
<yatriksachd...@xxxxxxxxx> wrote in message
news:1178880726.515332.19390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 11, 3:12 pm, "CreateWindow" <createwin...@xxxxxxxxx> wrote:
Hi,
Did you write the service and install it? Leagacy API service or
dressed
up
in .NET candy? What is it? Svrany?
CreateWindow
<yatriksachd...@xxxxxxxxx> wrote in message
news:1178864597.491091.198880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a WinXP system whose registerowner is "testuser". There also
exists a user account with same name, i.e. "testuser".
I logged in as built-in Administrator account and start a service.
The
user name shown for this service is "SYSTEM" in TaskManager
processes
tab. This service also lanch "notepad.exe" using WinExec API.
My problem is that the logged in Administrator does not see any
notepad.exe application running. When I switch user to "testuser", I
observe noetpad.exe instance running there.
Any ideas what may be causing this behavior?
Thanks in advance for any replies to this post.
Yatrik- Hide quoted text -
- Show quoted text -
Yes, that service was written and installed by me only.
Thanks
Yatrik- Hide quoted text -
- Show quoted text -
Hi,
This service written in C. It can be installed using InstallShield and
native API. It is interactive and can be controlled from Service
controller.
This behavior is only seen on couple of WinXP systems, where as on
other systems it works as desired.
Thanks
Yatrik
.
- Follow-Ups:
- Re: Application getting launched in other user accout
- From: yatriksachdeva
- Re: Application getting launched in other user accout
- References:
- Application getting launched in other user accout
- From: yatriksachdeva
- Re: Application getting launched in other user accout
- From: CreateWindow
- Re: Application getting launched in other user accout
- From: yatriksachdeva
- Re: Application getting launched in other user accout
- From: CreateWindow
- Re: Application getting launched in other user accout
- From: yatriksachdeva
- Application getting launched in other user accout
- Prev by Date: Re: How Do Un-Install Windows XP
- Next by Date: svhost 98% CPU Usage
- Previous by thread: Re: Application getting launched in other user accout
- Next by thread: Re: Application getting launched in other user accout
- Index(es):
Relevant Pages
|
Loading