Vinay Khemka wrote:
>
> I am trying hard to make the Application run as a windows services but
> i am unable to crack it.
> Actually my services get registered in Windows service console but
> when i start my service , it basically
> executes the Application(.exe) created in python and it gets stuck in
> the code where i have written app = wx.App()
> app.MainLoop().
> Actually on starting the services it is unable to create the Main GUI
> event Loop.

Mark is exactly right.  Windows services cannot have user interfaces. 
They run in a special environment that is not connected to the desktop.

Usually, you make something a service because it needs to run even when
no one is logged in (which means before a desktop is even created, which
is why the "no UI" restriction exists).  Why does your app need to be a
service?

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

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

Reply via email to