how do I register a local-server-only COM object in Python?

Alex Martelli aleaxit at yahoo.com
Wed Oct 11 10:42:21 EDT 2000


"Steve Holden" <sholden at holdenweb.com> wrote in message
news:39E471DC.138CA8F4 at holdenweb.com...
> In my previous posting I inadvertently wrote
>
> CLSCTX_LOCALSERVER
>
> when I should have written
>
> CLSCTX_LOCAL_SERVER
>
> Steve Holden wrote:
> >
> ...
> > As you suspect, the default used is
> >
> >         CLSCTX_LOCALSERVER | CLSCTX_INPROC_SERVER

Also, the property name was mis-spelled.  But, no matter:

  _reg_clsctx_ = pythoncom.CLSCTX_LOCAL_SERVER

adding this line to the shareddictionary.py I was
playing with works a charm, and does indeed register
just the local-server version, as desired.  Thanks!!!


Alex






More information about the Python-list mailing list