Archived

This topic is now archived and is closed to further replies.

Prozak

Detecting DX Version

Recommended Posts

Prozak    898
How do i go about telling the user that he doesnt have the correct version of DirectX to run my game? Is there an dxVersion call i should use? Is there an OpenGL equivalent? Thanx people,

[Hugo Ferreira][Positronic Dreams][]
"Research is what I''m doing when I don''t know what I''m doing."
- Wernher Von Braun (1912-1977)

Share this post


Link to post
Share on other sites
Krunk    122
Basically you can just try to get the interfaces for the DX version you require, and pop up a message-box if they arent available. If you have the DX SDK there''s actually an example of this, its in samples\Multimedia\Misc\GetDXVer\ in the SDK directory. Theres a bit of info about it at MSDN.

Share this post


Link to post
Share on other sites
TheFez    151
You can also use direct setup. It has a function called DirectXSetupGetVersion. It will return the version number and revision number. However if you want to use this you must include the dsetup.dll with everything.

Share this post


Link to post
Share on other sites