MDX 2.0.0.0 Error - HRESULT: 0x8007007E

I just installed the Managed DirectX December 2005 SDK.
I then added Microsoft.DirectX as a reference to a new c# app.

Added Vector3 k = new Vector3();
and then ran the application, but recieved

'The specified module could not be found. (Exception from HRESULT: 0x8007007E)'
as a error.

After using filemon, i noticed that the program was looking for XINPUT9_1_0.dll in about 15 different directories, but with no luck.
So i simply copied that file from DX SDK into one of the paths list;
'C:\WINDOWS\assembly\GAC_32\Microsoft.DirectX\2.0.0.0__31bf3856ad364e3' to exact, and this fixed the error above.

Ive googled around a bit and found that some people were having the same problem.
So there is a possible solution to the problem for any one who needs or might need it.



Answer this question

MDX 2.0.0.0 Error - HRESULT: 0x8007007E

  • Fred33

    xinput9_1_0.dll is in the Dec DX SDK under Redist\Oct2005_xinput_x86.cab

    i copied the 4 files in the Oct2005_xinput_x86.cab file to C:\WINDOWS\assembly\GAC_32\Microsoft.DirectX\2.0.0.0__31bf3856ad364e35 (reboot after ).

  • aprilmadams

    no errors during the install.

    ive had all sorts of beta stuff installed previously on my machine, like:
    visual studio 2005 beta 2, winfx beta 1, c# express beta 1. perhaps having all these beta products installed and uninstalled have messed with a few setting. no one else seems to have this problem so im sure its fine


  • Matthias123

    Im ref-ing:

    Microsoft.DirectX.dll - Version=2.0.0.0 - Runtime=2.0.50727 - Install Path=C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll

    This is the december version

    I had the October SDK installed, but didnt use it caz most of d3dx was missing,
    but now ref-ing this dll, and i have access to all d3dx stuff like animation.


  • Allen Noakes

    Yep, thats December. (October was 2.0.900.0)

    I'm not seeing this error on my machine though - I compiled the beta samples from the sample browser with no problems.

    Did you get any errors when you installed Sounds like this should be reported on the beta newsgroups.

     

     

     



  • chjmiller

    Solution:http://www.thezbuffer.com/articles/314.aspx

    Though this means you are referencing the beta from the October SDK not the December one.

    October beta works only with VS2005 beta 2

    December beta works on VS2005 release - or the free express products of course.



  • Yogesh Kumar Dhiman

    I have just today installed the december sdk. I am running VS 2005 release and i get the same error. I also can not seem to find XINPUT9_1_0.dll on my machine at all though...perhaps the error is unrelated.
  • Mariano Szklanny

     

    Remember that the MDX 2 systems are still in beta and all questions really should be asked in the public beta groups so that the developers can monitor the questions. You can sign up for the beta system though the DirectX Developer Center.



  • MDX 2.0.0.0 Error - HRESULT: 0x8007007E