win32com problem

Hans Kristian Ruud hans.kristian.ruud at inenco.no
Thu Nov 16 07:14:59 EST 2000


I try to access a certain COM-object from PythonWin:

 >>> import win32com.client
>>> mikon = win32com.client.Dispatch("MikonChips.MiDataSource")
Traceback (innermost last):
  File "<interactive input>", line 1, in ?
  File "D:\program files\Python\win32com\client\__init__.py", line 102,
in Dispatch
    dispatch, userName =
dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
  File "D:\program files\Python\win32com\client\dynamic.py", line 80, in
_GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)
  File "D:\program files\Python\win32com\client\dynamic.py", line 71, in
_GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
pythoncom.IID_IDispatch)
com_error: (-2147023174, 'The RPC server is unavailable.', None, None)

Can anyone enlighten me as to the meaning of this?

Pleease???

A lot of thanks in advance!


--
Hans Kristian Ruud
22 18 63 08 (jobb) 22 65 22 34 (hjemme) 952 33 224 (mob)
Wash daily from nosetip to tailtip, drink deeply but not to deep
remember the night is for hunting, forget not the day is for sleep





More information about the Python-list mailing list