> Hmm, seems like this is only available under NT. Is there a more general > way to accomplish this task independently of the underlying Windows-version? I remember reading some time about rudimentary supprort for services under Win9x so maybe you can use one version after all. Check out the platform sdk, or msdn for details.