D
Dennis van der Meer
Hi,
I have a piece of software that monitors the system for core
temperature and fan speed, etc. The monitoring is done by a service
and a separate program connects with this service to read the values
it needs and presents them to the user.
When logging on the program starts before the service is able to start
and so it will generate an error. After I click away this error and
start the piece of software again all is fine since the service has
been started by then.
You can make services dependent upon other services so they will wait
until the dependent services have been started. Is there a way to do
this with a non service (read program)? I could probably write a small
program that checks if the service has been started and if not it will
sleep for another 5 seconds before trying. If it is started then it
calls the specific program and will exit. But this is a lot of work
for something that might be solved easier. Anyone??
Thanks,
Dennis van der Meer
I have a piece of software that monitors the system for core
temperature and fan speed, etc. The monitoring is done by a service
and a separate program connects with this service to read the values
it needs and presents them to the user.
When logging on the program starts before the service is able to start
and so it will generate an error. After I click away this error and
start the piece of software again all is fine since the service has
been started by then.
You can make services dependent upon other services so they will wait
until the dependent services have been started. Is there a way to do
this with a non service (read program)? I could probably write a small
program that checks if the service has been started and if not it will
sleep for another 5 seconds before trying. If it is started then it
calls the specific program and will exit. But this is a lot of work
for something that might be solved easier. Anyone??
Thanks,
Dennis van der Meer