Python COM server running as a singleton

Mark Hammond mhammond at skippinet.com.au
Sat Jan 19 21:23:39 EST 2002


Marc ENGEL wrote:

> I would suggest to add an else statement for the if at line 176:
> 
> if not clsctx or clsctx & pythoncom.CLSCTX_INPROC_SERVER:
>  ........
> else:
>  _remove_key(keyNameRoot + "\\InprocServer32")
> 
> Of course, it could be done also for CLSCTX_LOCAL_SERVER if statement:
> 
> if not clsctx or clsctx & pythoncom.CLSCTX_LOCAL_SERVER:
> 
> Does this make sense?


Yep - done.

Thanks,

Mark.




More information about the Python-list mailing list