> I have inherited some code that starts a process from a service.
> Currently the service is starting the process when there is not an
> interactive user logged on. Anyone know how to determine if there is
> an interactive user logged on? Also, would there be some kind of
> event interface? I would prefer not to poll for the info.
Have a look at KB article 308403, "HOWTO: Design a Service to Interact with Multiple User Sessions":
Otherwise, if you are only interested in single-user scenarios you might be able to get away with an interactive service and the 'TaskbarCreated' message; see KB article 171890:
Jim Barry, MVP for Windows SDK