[IronPython] Direct3D IronPython Sample

Dave Fugate dfugate at microsoft.com
Sat Sep 23 00:08:57 CEST 2006

I believe you'll need the full SDK. If you try running the samples with only the DirectX runtime you'll see something similar to the following:

   ipy.exe demo1.py
   Traceback (most recent call last):
     File E:\Ip\IronPython\Samples\Direct3D\demo1.py, line 17, in Initialize
     File , line 0, in __import__##5
     File E:\Ip\IronPython\Samples\Direct3D\framework.py, line 35, in Initialize
   ImportError: Cannot import name Direct3D

The script fails on "from Microsoft.DirectX import Direct3D". So while the Microsoft.DirectX assembly is included with the end-user DirectX runtime, this does not include Direct3D. That being said, I think the DirectX SDK includes certain redistributable files (which of course could include the Direct3D assembly).

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of psi
Sent: Wednesday, September 20, 2006 1:39 PM
To: users at lists.ironpython.com
Subject: Re: [IronPython] Direct3D IronPython Sample

this requires the directx sdk, which is 500mb, but if you only want to
run it, cant you get away with just the microsoft.directx assembly and
the directx runtime?

users mailing list
users at lists.ironpython.com

More information about the Ironpython-users mailing list