Accessing a COM server from an NT service

2005-05-01 06:55:55 AM
I have a automation server that is running in a normal application. I
connect to it from other apps and it work well. Now I'd like to connect
to this server from an NT service which can run under the LocalService
account OR under some other account. This fails. I think that this may have
something to do with security and desktop contexts.
As a newbie to COM, what must I do to make this work? Remember that my
service do NOT contain a server, but only connects to an application. How do
I register the server so that my services sees it? Any other important
things I must think about?
Thank you in advance