> if it exits with an error code. This doesn't happen when I for
> instance call
> sys.exit(-1). Is there a way to make a service exit with an error so that
> Win 2000 will restart it again?

You need to exit the service "normally".  When reporting the service stop
status, you report an error code.

> How can one expose a COM object from an NT service so that one can make an
> application that displays a GUI for the service and connects to
> the service
> via COM?

Not too sure.  You could try using the "running object table".  I have
generally used named pipes in this situation.

Mark.

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to