Roger,
I wrote an extension to Mark Hammond's win32serviceutil.ServiceFramework class
(that I submitted to him also) that extends the class to provide you with this
functionality (along with the ability to support py2exe frozen services better).
Here it is:
import _winreg
import os
import win32ev
rbt wrote:
Roger Upole wrote:
ChangeServiceConfig2 is the api functions that sets the description,
but it's not in the win32service module (yet).
Roger
OK, I can use _winreg to add the 'Description' field under the
appropriate registry key.
Here's an example of it... kludgey but it works
Roger Upole wrote:
ChangeServiceConfig2 is the api functions that sets the description,
but it's not in the win32service module (yet).
Roger
OK, I can use _winreg to add the 'Description' field under the
appropriate registry key.
--
http://mail.python.org/mailman/listinfo/python-list
ChangeServiceConfig2 is the api functions that sets the description,
but it's not in the win32service module (yet).
Roger
"rbt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How does one associate a "Description" with a Windows service written in
> Python? I've just sta
How does one associate a "Description" with a Windows service written in
Python? I've just started experimenting with Python services. Here's my
code... copied straight from Mr. Hammond's "Python Programming on Win32":
import win32serviceutil
import win32service
import win32event
class test_