Not logged in, Join Here! or Log In Below:  
News Articles Search    

 Home / 3D Theory & Graphics / D3DXCheckVersion, when to use it Account Manager
Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.

May 17, 2005, 05:48 PM

I'm confused with this, sorry if it's a stupid question ... Will D3DXCheckVersion(D3D_SDK_VERSION, D3DX_SDK_VERSION) return false for a program compiled with dx 9.0c when the user updates to the next directx version (directx 10 or something)?

Documentation says: "Returns TRUE if the version of D3DX you compiled against is the version you are running with; otherwise, FALSE is returned." But what happen if it is an updated d3dx version?




May 17, 2005, 11:08 PM

The runtime changes won't affect the D3DX version your application is using. To take advantage of a newer version of D3DX lib you need to relink your application with the correct library. Your application is always using the d3dx version you linked it against. Therefore the only way you can get the version check to fail is to link your application against the wrong version of D3DX library (or in latest releases manually overwrite the d3dx dll with a wrong version). Since the February SDK the D3DX is shipped as a dll.


This thread contains 2 messages.
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.