COM 'Catastrophic failure' ????
MarkH at ActiveState.com
Wed Feb 14 23:17:21 CET 2001
Ben Shapiro wrote:
> Anyone know what could be causing the 'Catastrophic failure'??
> I am using an OCX as the media control
> thx for your help
> Traceback (most recent call last):
> File "C:\code\3LP\PyFileunder\MediaPlayer.py", line 39, in ?
> t = MediaPlayer()
> File "C:\code\3LP\PyFileunder\MediaPlayer.py", line 22, in __init__
> p = w.Open("c:\\code\\3LP\\pyfileunder\\music\\test.mp3")
> line 75, in Open
> return self._oleobj_.InvokeTypes(0x33, LCID, 1, (3, 0), ((8, 0),),URL)
> pywintypes.com_error: (-2147418113, 'Catastrophic failure', None, None)
I would guess that the media player wants a real OCX container.
win32com doesnt support that. Pythonwin does tho - see the
pywin\demos\ocx samples and see if that helps it work.
Nominate Your Favorite Programmers
for the Perl and Python Active Awards!
More information about the Python-list