DirectPython

Jérôme Le Bougeant lebougeant at 3douest.com
Mon Aug 28 05:17:42 EDT 2006


Hello,

I have DirectPython 0.5 (http://directpython.sourceforge.net/) and python2.4 
(directx9.0C installed).
Samples do not work, I have this error : "RuntimeError: Failed to create a
device"
For example with sampleBasic.py :

Traceback (most recent call last):
  File "sampleBasic.py", line 147, in ?
    mainloop()
  File "sampleBasic.py", line 75, in mainloop
    d3d.createDevice(title, u"textures/x.ico", window[2], window[3], False,
CREATE.HARDWARE)
RuntimeError: Failed to create a device


Why ?

please help me... any help would be appreciated.
Thanks





More information about the Python-list mailing list