Application behaves differently when launched from a service
Posted on 2004-07-31
I have a program that works great when I test the program by running
it as an application, but when I package it as a service, the feature fails.
In particular the feature is a gui part that supports drag-and-drop allowing
interaction with the user's desktop.
I tried having my service launch the gui feature as a separate application,
but the feature still didn't work when the service launched the application.
I tried using ImpersonateLoggedOnUser before launching the application,
but it still failed to work.
What else could be different that causes the application to succeed when I
run it normally, but fail when the service launches it?