Microsoft COM and "service" class

Mark Hammond MarkH at
Tue Jul 17 20:15:27 EDT 2001

jim.vickroy wrote:

> which I believe is caused by the following statement in my
> implementation:
>   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 mailing list