Je pense que les services d'une même classe et ne dépendant pas les uns des autres se lance en même temps. Evidemment, un service dépendant d'un autre va attendre que celui-ci soit démarré avant de se lancer.
Il y a plusieurs types de démarrage :
Citation :
SERVICE_AUTO_START A service started automatically by the service control manager during system startup. SERVICE_BOOT_START A device driver started by the system loader. This value is valid only for driver services. SERVICE_DEMAND_START A service started by the service control manager when a process calls the StartService function. SERVICE_DISABLED A service that cannot be started. Attempts to start the service result in the error code ERROR_SERVICE_DISABLED. SERVICE_SYSTEM_START A device driver started by the IoInitSystem function. This value is valid only for driver services.
|
Cependant, si tu souhaites démarrer ton service après un autre, c'est que ton service dépend de cet autre service, non ?
---------------
each day I don't die is cheating