On 6/10/2010 10:55 PM, Vinay Khemka wrote:
Hi all, 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
Created how in python? Using py2exe 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.
What do you mean "stuck" and what is the symptom of it being unable to create the main GUI event loop? If the symptom is that no GUI is displayed, that would be expected - services generally can't create a UI. The typical solution then is to create 2 executables - the GUI-less service and an app run normally with a GUI and which communicates with the service.
In short, your problem seems that you are trying to use wx in a service. Mark _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32