On 12/01/2010 08:28 PM, Tim Roberts wrote:
Randy Syring wrote:
It seems likely to me that you can not run a GUI program under a
non-interactive service like IIS.  But, I am not 100% sure on this so I
was hoping that this list might be able to shed some light on this topic.
Your analysis is quite correct.
Thank you for the confirmation.
It is possible, through painful and creative use of CreateProcessAsUser,
to create a process as the user that is running on the primary visible
desktop.  Here's more information, although I don't really think it
solves your problem:

http://msdn.microsoft.com/en-us/library/ms683502.aspx

Good to know, but you are correct that it doesn't solve the problem. This program needs to work even when no users are logged into the server, as that will be the case 99% of the time.

Thanks again.

--------------------------------------
Randy Syring
Intelicom
Direct: 502-276-0459
Office: 502-212-9913

For the wages of sin is death, but the
free gift of God is eternal life in
Christ Jesus our Lord (Rom 6:23)

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to