I would like to know if there is a way to detect whether d3dx9_27.dll has been installed on a system? Is there a registry key that is set when the dll is installed? Or is the dll always installed in <SystemRoot>/system32 ? Thanks, Stéphane
On Fri, 24 Mar 2006 07:04:03 -0800, Stphane Ct wrote: > I would like to know if there is a way to detect whether d3dx9_27.dll has > been installed on a system? Is there a registry key that is set when the dll > is installed? Or is the dll always installed in <SystemRoot>/system32 ? The DX installer always installs in into <SystemRoot>/system32. -- Please read this before replying: 1. Dshow & posting help: http://tmhare.mvps.org/help.htm 2. Trim & respond inline (please don't top post or snip everything) 3. Benefit others: follow up if you are helped or you found a solution
Thanks again, and for replying so quickly! Your answers were very helpful. Stéphane "The March Hare [MVP]" wrote: > On Fri, 24 Mar 2006 07:04:03 -0800, Stéphane Côté wrote: > > > I would like to know if there is a way to detect whether d3dx9_27.dll has > > been installed on a system? Is there a registry key that is set when the dll > > is installed? Or is the dll always installed in <SystemRoot>/system32 ? > > The DX installer always installs in into <SystemRoot>/system32. > > -- > Please read this before replying: > 1. Dshow & posting help: http://tmhare.mvps.org/help.htm > 2. Trim & respond inline (please don't top post or snip everything) > 3. Benefit others: follow up if you are helped or you found a solution >
>I would like to know if there is a way to detect whether d3dx9_27.dll has > been installed on a system? Is there a registry key that is set when the > dll > is installed? Or is the dll always installed in <SystemRoot>/system32 ? Be careful about making these kind of assumptions. You could use "LoadLibrary" to just see if "D3DX9_27" will resolve, but otherwise just always run DirectSetup's REDIST during installation instead of checking for it being 'already installed'. If it is, Direct Setup will return quickly. -- Chuck Walbourn SDE, Game Technology Group This posting is provided "AS IS" with no warranties, and confers no rights.