View Full Version : checking for directx 9
01-11-2005, 09:43 PM
what i wish to do is check if directx 9 is installed on the users computer and if it is not then i wish to simply show a msgbox saying something like "DirectX 9 needs to be installed before running this app."
i wish to check simply for directx 9.0 doesn't have to be 9.0c
thanks for your time and i look forward to your reply.
01-11-2005, 09:51 PM
This talks about revision (c);however, maybe it will help or you can question the forum member that posted such.
01-14-2005, 01:57 PM
Basic DX 9(c) detection:
Dxver = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\DirectX", "Version", true);
if (Dxver < "4.09.00.0904") then
Dialog.Message(" - An Earlier Version of Directx(tm) detected -","DirectX 9(c) needs to be installed before running this app");
btw you can always just download the "directx9(c).zip" module script
and open it in Setup Factory 7 and grab-modify what you need..
..there are a few conditions as to wehter DX9C can be installed,
so worth a look.
01-15-2005, 05:09 PM
to check if is initial release of DX9 (directx9A) or later
if (Dxver < "4.09.00.0901") then
Powered by vBulletin™ Version 4.0.6 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.