Microsoft COM and "service" class
MarkH at ActiveState.com
Wed Jul 18 02:15:27 CEST 2001
> which I believe is caused by the following statement in my
> win32serviceutil.ServiceFramework.__init__(self, args)
> I do not understand where and how the 'args' parameter is being defined.
"args" comes from the service control manager. For "normal" services,
the service args can be defined in the dialog used to start and stop
> If I strip the "service" interface (which references the 'args'
> parameter) from my class, it seems to work just fine as a COM object.
> Could someone offer some suggestions on what I need to do.
Any chance of a trivial sample I can keep in the win32com test suite?
This will help me to track it down once and for all.
More information about the Python-list