Re: problem in creating Services
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Mon, 28 May 2007 10:43:25 -0400
<ashukasama@xxxxxxxxx> wrote in message
news:1180360805.493774.175280@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
As i start a service.
It will start in system as a user account .
but i need it will start as a current login as a user.
The whole point of a service is to be able to run while _no_ user is
logged in. That's why you cannot set it up to run as logged in user
(what if there's none? What if there's more than one?).
If you want your code to run under launching user's account, make it a
regular executable rather than a service.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- problem in creating Services
- From: ashukasama
- problem in creating Services
- Prev by Date: Re: LoadLibrary call hangs ..sometime
- Next by Date: Re: Get ASCII value for character when higher than 127
- Previous by thread: problem in creating Services
- Next by thread: Re: problem in creating Services
- Index(es):
Relevant Pages
|