[IronPython] Problem Loading DirectX?

Clay Culver cculver at bitshifters.org
Sun Jun 11 18:51:46 PDT 2006


I'm having a problem loading DirectX (MDX) 2.0.  Here is what I am trying:

 >>> import clr
 >>> clr.LoadAssemblyByPartialName("Microsoft.DirectX")
Microsoft.DirectX, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35
 >>> import Microsoft.DirectX
Traceback (most recent call last):
  File , line 0, in <stdin>##17
  File , line 0, in __import__##4
ImportError: cannot import DirectX from Microsoft

Does anyone know what is wrong with this?

Thanks!



More information about the users mailing list