Re: desktop app talk with service app




"Brayn" <brayn@xxxxxxxxxx> wrote in message
news:488fbe8a$1@xxxxxxxxxxxxxxxxxxxxxxxxx

Do you have any of your application available to the public?

Not the COM servers, no. They were developed for my office's commercial
product line.

Otherwise, any place I can find some examples?

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.


Gambit


.