By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,035 Members | 1,388 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,035 IT Pros & Developers. It's quick & easy.

connecting to an exsisting COM server

P: n/a
Hi,

I'm using
win32com.client.GetObject(Class='Rhino3.Applicatio n')
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

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <je**********@gmail.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com...
Hi,

I'm using
win32com.client.GetObject(Class='Rhino3.Applicatio n')
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 =----
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.