ChangeServiceConfig2
am trying to add failure actions. I can call ChangeServiceConfig2 with
right actions and it succeeds. however when one of my services exits with a
bad error code i call SetServiceStatus(.. SERVICE_STOPPED, err..) and get
the event log entry saying my service exited unexpectedly. however it is
not restarted. if i go into task man and kill the task, all my services are
restarted. Is there a way to get one service to behave correctly? it seems
this is tied to my main() returning an error or not.
It looks like SERVICE_CONFIG_FAILURE_ACTIONS_FLAG will do what i want, but
this is only avialable in Vista/Longhorn. Is this doable with a shared
service process or do i need to seperate them out into 3 different
processes?
rob

