Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 11 Oct 2005 16:29:07 -0700,    group: microsoft.public.win32.programmer.directx.misc        back       


version detection (with using dxdiag)   
Is there a method for detecting the version of DirectX without having an 
end-user run dxdiag?  Thanks for any tips...
date: Tue, 11 Oct 2005 16:29:07 -0700   author:   nickmo

Re: version detection (with using dxdiag)   
> 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.
date: Thu, 13 Oct 2005 16:39:10 -0700   author:   Chuck Walbourn [MSFT]

Re: version detection (with using dxdiag)   
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.
> 
> 
>
date: Fri, 14 Oct 2005 07:25:07 -0700   author:   nickmo

Re: version detection (with using dxdiag)   
> 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.
date: Fri, 14 Oct 2005 13:51:29 -0700   author:   Chuck Walbourn [MSFT]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us