I have a project which was created via the boilerplate ATL COM
Appwizard as a NT Service. I have a COM object in this NT Service. I
register the service as a NT service,
but when I try to do a CoCreateInstanceEx from a client instead of
coming up and running as a NT service it runs as just an executable.
This happens even if I start the NT
service via the Service Control Manager, when I do this I end up with
2 instances of the .exe in task manager.
How can I start the NT service and have any and all client
CoCreateInstanceEx calls get an interface for the COM object in the NT
service that is already running?
Thanks,
Jason