Hi, I have two smallish python modules, one which runs a service, and the other which puts a notification icon with a trivial menu on the windows panel (these modules are quite similar to existing examples in pywin32). Both of these modules work fine by themselves. However when I try to create the notification module from the service, I get troubles. I'm starting the service using win32serviceutil.HandleCommandLine, and it works fine in debug mode (as long as I'm running as Administrator), but when I try to start it, the notification code fails and it won't add the icon; and when I try to stop it, it wont' stop and just hangs.
The main problem that I can identify right now is that my calls to win32gui.Shell_NotifyIcon fails. It raises a pywintypes.error(0, 'Shell_NotifyIcon', 'No error message is available'). Does anybody know what this means, or have any idea how to figure out what it means? _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32