Unable to load Microsoft.DirectX.dll in Visual Studio 2005 Pro Ed

I recently installed Visual Studio 2005 Pro Ed. For some reason I cant run
my Managed DirectX applications from the new vs. It compiles successfully
but whenever i reach some code (in runtime) which uses the
Microsoft.DirectX.dll i get this exception:

"The specified module could not be found. (Exception from HRESULT:
0x8007007E)"

The funny thing is that it works fine with earlier versions of
Microsoft.DirectX.dll. And the latest version (of dx) worked fine with the
beta 2 of visual studio 2005. The only combination which doesn't work is
that latest version of both.

I've tried this on two different computers in order to figure out if it was
something wrong with my installation, but I get the same error on both
machines.

I saw that a similar thread about Shader Debugging not working in vs2005 and that the oct sdk did not support that in vs2005. Is it the same for all managed dx in vs2005 since my apps throws for a single line of dx code. f.e.

Microsoft.DirectX.Matrix mat;

Has anyone experienced this or maybe successfully run what i've failed to
run. Please let me know!

Regards

Johan



Answer this question

Unable to load Microsoft.DirectX.dll in Visual Studio 2005 Pro Ed

  • Cristian Adam

    Was this error corrected in december release As i still get the same error and was hoping for a work around.

  • Anwar Buchoo

    The beta MDX 2.0 Dlls (v2.0.900.0/9.9.376.0) from October work only with VS2005 beta

    The beta MDX 2.0 Dlls (v2.0.0.0/9.10.455.0) from December work only with VS2005 release (or express of course). There's lots of people using just fine so your errors are possibly bugs or installation issues.

    You might want to make sure you have a totally clean VS install - the betas often left stuff around.

    Otherwise issues with the beta need to be in the beta newsgoups http://msdn.microsoft.com/directx/beta/default.aspx



  • Xserv4real

    The October DirectX SDK will not work with the release version of 2005 When will a working version be available

  • WuZhiming

    Are you attempting to use the new Managed DirectX 2.0 libraries   If so, it will not work with the released version of Visual Studio 2005 (this is a known bug which we plan to fix with the next SDK release).


  • Jyotiswarup

    I am getting the error as well with December SDK. The DirectX.dll version is 9.10.455.0.

    I am assuming the issue is not resolved. Is there going to be a Jan or Feb update

    Thanx



  • Rumy......

    Wow! This is indeed strange, for I have a spanking-brand-new laptop with *only* Windows 2003, DX9 December, VS2005 release version, and Blender installed.

    I will double check all of the versions, but thanx anyway, Z.

    Micah



  • Unable to load Microsoft.DirectX.dll in Visual Studio 2005 Pro Ed