Is there a method for detecting the version of DirectX without having an end-user run dxdiag? Thanks for any tips...
> Is there a method for detecting the version of DirectX without having an > end-user run dxdiag? Thanks for any tips... Do you mean under programmatic control? The IDxDiagProvider API is probably the best way... -- Chuck Walbourn SDE, Windows Gaming & Graphics This posting is provided "AS IS" with no warranties, and confers no rights.
No, more something simple like checking the version of a dll. I did find a registry key that displays the full version number, but was shooting for something simpler like "9.0c". If in case anyone wants to know, the reg is HKLM\Software\Microsoft\DirectX\ "Chuck Walbourn [MSFT]" wrote: > > Is there a method for detecting the version of DirectX without having an > > end-user run dxdiag? Thanks for any tips... > > Do you mean under programmatic control? The IDxDiagProvider API is probably > the best way... > > -- > Chuck Walbourn > SDE, Windows Gaming & Graphics > > This posting is provided "AS IS" with no warranties, and confers no rights. > > >
> No, more something simple like checking the version of a dll. I did find > a > registry key that displays the full version number, but was shooting for > something simpler like "9.0c". If in case anyone wants to know, the reg > is > HKLM\Software\Microsoft\DirectX\ It is actually recommended that you don't check for the version at all, just launch the Direct Setup redist silently, and let us handle it. If you want to provide some PSS solution, the DxDiag provider interface is the way to go. Trying to check a specific DLL or using an undocumented registry key for a version number is almost guaranteed to cause future application compatibly issues for you program. -- Chuck Walbourn SDE, Windows Gaming & Graphics This posting is provided "AS IS" with no warranties, and confers no rights.