Jump to content
  • Advertisement
Sign in to follow this  
TriML

Detecting DirectX Version?

This topic is 4500 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

Hi Folks, I have developed a dx application, now i want to add the functionality for detecting compatible directx version when running on user machine. Also, how can i check for the d3dx dll's i used for my app? If the dll's are not present on the user machine, how can i prompt user for downloading it and provide link? I am using April 2006 sdk, is the dx runtime is only requirement for applications to run or i have to check for dll's like d3dx_30.dll? Please elaborate the procedure? Thanks

Share this post


Link to post
Share on other sites
Advertisement
The Installing DirectX with DirectSetup article in the SDK should cover what you need to know. The GetDXVer sample should be a useful reference.

Bare in mind that if you're statically linking to D3DX DLL's (that is, not using LoadLibrary() type calls) then your application will crash-and-burn before you can run any detection code.

Best bet is always to ship (and silently install) the appropriate redistributable [smile]

hth
Jack

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!