Howdy folks,
I'm getting outfoxed by a pesky ActiveX control that keeps bombing out
with a 'Catastrophic failure' as soon as I try and interact with it:
>>> from win32com.client import *
>>> d = Dispatch('TWS.TwsCtrl.1')
>>> d
>>> d.connect('', 7496, 0)
pywintypes.com_error: (-2147418113, 'C
Trent Nelson wrote:
> I'm getting outfoxed by a pesky ActiveX control that keeps bombing out
> with a 'Catastrophic failure' as soon as I try and interact with it:
>
> >>> from win32com.client import *
> >>> d = Dispatch('TWS.TwsCtrl.1')
> >>> d
>
> >>> d.connect('', 7496, 0)
>
> pywintypes
On 23-Jul-10 2:29 PM, Tim Roberts wrote:
Trent Nelson wrote:
>>> import wx, wx.activex
>>> app = wx.PySimpleApp()
>>> f = wx.Frame(None, -1, "")
>>> clsid = wx.activex.CLSID('TWS.TwsCtrl.1')
*** axw = wx.activex.ActiveXWindows(f, clsid)
>>> wx.activex.GernerateAXModule(axw, 'Tws