Jump to content
  • Advertisement
Sign in to follow this  
chillypacman

Missing d3dx9_35.dll?

This topic is 3866 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

From what I understand d3dx9)35.dll would be installed by default on any computer though from experience that isn'ta lways the case. I'm kind of confused, when I inlude it with the executable (i.e. in the same folder as the exe) it causes the computer to crash if d3dx9_35.dll already existgs elsewhere on the computer, otherwise it won't work unless d3dx9_35.dll is inluded. What am I supposed to do about this?

Share this post


Link to post
Share on other sites
Advertisement
No, it's only bundled with relatively more recent DirectX distributions. Just make sure that the computer running your program has the latest version of the DirectX runtime.

Share this post


Link to post
Share on other sites
Quote:
Original post by chillypacman
From what I understand d3dx9)35.dll would be installed by default on any computer though from experience that isn'ta lways the case.
It's only installed if the user has installed a game that requires that version of D3DX, or a later version (I.e. if someone else has installed it on the users machine).

Quote:
Original post by chillypacman
I'm kind of confused, when I inlude it with the executable (i.e. in the same folder as the exe) it causes the computer to crash if d3dx9_35.dll already existgs elsewhere on the computer, otherwise it won't work unless d3dx9_35.dll is inluded.
It shouldn't cause a crash, but it is against the DirectX EULA to distribute the DLL like that. It also means that if there's any security problems found, they can be patched via Windows Update. If you provide the DLL separately, then it can't be patched. And I imagine the user won't be very happy when they get exploited by a bug that was fixed in Windows Update.

Quote:
Original post by chillypacman
What am I supposed to do about this?
Provide the DirectX End-User Runtimes with your application, and have the installer set it up. Alternatively, direct the user to the DirectX End-User Runtime Web Installer in the readme file with your app.

Share this post


Link to post
Share on other sites
Quote:
Original post by SiCrane
No, it's only bundled with relatively more recent DirectX distributions. Just make sure that the computer running your program has the latest version of the DirectX runtime.


Oh ok, so I can safely assume if I include a directx installer with the software I'm distributing that it would mean such errors won't show? Because thats what I've thought for the whole time but quite a few people seem to be missing this one crucial dll and have emailed me omplaints about having the latest directx but not being able to get it to work with the missing dlls... kinda wierd, guess they're lying :P


Quote:
It shouldn't cause a crash, but it is against the DirectX EULA to distribute the DLL like that


Yes I know it's against the Eula, thats why I don't want to do it.

Share this post


Link to post
Share on other sites
Quote:
Original post by chillypacman
Quote:
Original post by SiCrane
No, it's only bundled with relatively more recent DirectX distributions. Just make sure that the computer running your program has the latest version of the DirectX runtime.


Oh ok, so I can safely assume if I include a directx installer with the software I'm distributing that it would mean such errors won't show? Because thats what I've thought for the whole time but quite a few people seem to be missing this one crucial dll and have emailed me omplaints about having the latest directx but not being able to get it to work with the missing dlls... kinda wierd, guess they're lying :P
The redist package is included in the SDK, in SDKROOT/Redist. Just provide the contents of that folder (I seem to recall there's a way to customise it though and only provide the files you really need, but I don't know how offhand).

Share this post


Link to post
Share on other sites
Because of the way that Microsoft versions things, the latest version of DirectX is not necessarily the same as the latest version of the DirectX runtime. For example, when 9.0b was the latest version of DirectX, they still released new versions of the DirectX runtimes that contained updated versions of the D3DX libraries before 9.0c came out.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!