connecting to an exsisting COM server

jelle jelleferinga at gmail.com
Thu Jun 23 13:53:18 EDT 2005


Hi,

I'm using
win32com.client.GetObject(Class='Rhino3.Application')
to connect to an existing COM server. However when doing so:

Traceback (most recent call last):
  File "<input>", line 1, in ?
  File "C:\Python24\lib\site-packages\win32com\client\__init__.py",
line 80, in GetActiveObject
    dispatch = pythoncom.GetActiveObject(resultCLSID)
com_error: (-2147221021, 'Operation unavailable', None, None)

A com_error is raised. This problem has come up a few times on this
list, however that didn't help me to find a way of connecting to it.
What else could I try?

Cheers,

Jelle




More information about the Python-list mailing list