IDL, COM/ActiveX, and Python [message #19714] |
Wed, 12 April 2000 00:00 |
j vickroy
Messages: 1 Registered: April 2000
|
Junior Member |
|
|
Hello all,
I am attempting to drive the COM interface to RSI-IDL from Python as
follows:
>>> o = win32com.client.Dispatch("IDLDRAWX2.IDLDrawWidget.2")
>>> o.IdlPath = "c:\\rsi\\idl53\\bin\\bin.x86"
Traceback (innermost last):
File "<interactive input>", line 1, in ?
File "C:\Program Files\Python\win32com\client\dynamic.py", line 413,
in __setattr__
self._oleobj_.Invoke(self._olerepr_.propMap[attr].dispid, 0,
pythoncom.DISPATCH_PROPERTYPUT, 0, value)
com_error: (-2147418113, 'Catastrophic failure', None, None)
>>>
The following variants were also tried with the same result.
o.IdlPath = "c:\rsi\idl53\bin\bin.x86"
o.IdlPath = "c:/rsi/idl53/bin/bin.x86"
I have been working with the vendor (RSI) but they do not have Python
expertise and suggested I try this news group to see if any one has used
Python and Win NT COM/ActiveX.
I would appreciate any suggestions.
Thanks.
|
|
|