connecting to an exsisting COM server

Roger Upole rupole at hotmail.com
Fri Jun 24 03:44:44 EDT 2005


Normally you get that if the application doesn't register itself
with the Running Object Table.  Do you know if the COM
server in question registers itself ?

     Roger

"jelle" <jelleferinga at gmail.com> wrote in message news:1119549198.624156.171130 at f14g2000cwb.googlegroups.com...
> 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
> 



----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----



More information about the Python-list mailing list