ATL NT service question 
Author Message
 ATL NT service question

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  



Sun, 18 Nov 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ATL 7.0 NT Service question...

2. Remote startup of NT Services from another NT Service

3. HELP - ATL NT Service and COM Interface Problem

4. Q .atl win nt service

5. Accessing an ATL obj in ROT from NT Service

6. Writing ATL NT Service

7. Atl NT service calling VB ActiveX dll had problem when clean-up

8. DCOM error with ATL NT Service

9. Known problems building NT Services with ATL

10. A problem about stop NT service exe in ATL

11. ATL 7 and NT service

12. ATL 7.0 NT Service problem?

 

 
Powered by phpBB® Forum Software