Singleton EXE Server not shutting down 
Author Message
 Singleton EXE Server not shutting down

Hello-

I have a EXE server that contains a singleton COM object. I am instantiating
an instance of the object via cscript/JScript ( new ActiveXOjbect()). If the
script runs to completion, the EXE server will shut down properly. If I
CTL-C the script while it is running, the server never exits. Is this
correct? I assumed that when cscript closed, it would release all objects,
and then the server would close, but that is not happening. Is there
anything I can do to get this behaviour?

Thanks-

John

--
John Dunn

http://www.*-*-*.com/



Tue, 23 Sep 2003 07:46:46 GMT  
 Singleton EXE Server not shutting down

I think if the client crashes, it is possible that the exe server is still
alive in the system. if you would release all the objects, you can do that
by trapping messages or handling exceptions.

yhhuang
ICQ:91074870



Fri, 26 Sep 2003 10:58:14 GMT  
 Singleton EXE Server not shutting down
Since the client is CScript.exe, I was hoping that was done for me. I will
try and catch all errors in my script.

Thanks-

john

--
John Dunn

http://www.peakaudio.com


Quote:

> I think if the client crashes, it is possible that the exe server is still
> alive in the system. if you would release all the objects, you can do that
> by trapping messages or handling exceptions.

> yhhuang
> ICQ:91074870



Sat, 27 Sep 2003 00:01:13 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Shutting down EXE server

2. Shut down Explorer.exe

3. Shutting down COM Server

4. shutting down a in process com server

5. Shutting down ATL server

6. How to shutdown COM server without shutting down process

7. shutting down a com server

8. inform clients when server shuts down

9. Shutting down an NT Server programmatically

10. Application not responding at shut down.

11. ce .net: howto: reboot, shut down (not just suspend)

12. ATL MFC EXE singleton server, single instance application

 

 
Powered by phpBB® Forum Software