Re: desktop app talk with service app
- From: Arthur Hoornweg <antispam.hoornweg@xxxxxxxxxxxxx>
- Date: Thu, 31 Jul 2008 09:35:01 +0200
Remy Lebeau (TeamB) wrote:
Simply create a normal TService project, add a COM object to it, and then make sure the 'LocalService' Registry value is configured for the COM object:
LocalService
http://msdn.microsoft.com/en-us/library/ms693774(vs.85).aspx
You can use the service's AfterInstall event to assign that value, and the BeforeUninstall event to remove it.
Very interesting.
I have a few questions though:
- Is the service started at boot time or as needed (when a COM client creates an interface)?
- Under which user account does the service run?
- Is this Vista-compatible (UAC) ?
--
Arthur Hoornweg
(In order to reply per e-mail, please just remove the ".net"
from my e-mail address. Leave the rest of the address intact
including the "antispam" part. I had to take this measure to
counteract unsollicited mail.)
.
- Follow-Ups:
- Re: desktop app talk with service app
- From: Remy Lebeau \(TeamB\)
- Re: desktop app talk with service app
- References:
- desktop app talk with service app
- From: Brayn
- Re: desktop app talk with service app
- From: Remy Lebeau \(TeamB\)
- Re: desktop app talk with service app
- From: Brayn
- Re: desktop app talk with service app
- From: Remy Lebeau \(TeamB\)
- desktop app talk with service app
- Prev by Date: Re: Looking for PDF to JPG/PNG converter
- Next by Date: Delphi for db4o?
- Previous by thread: Re: desktop app talk with service app
- Next by thread: Re: desktop app talk with service app
- Index(es):