Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

checking for directx 9

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • checking for directx 9

    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.

  • #2
    This talks about revision (c);however, maybe it will help or you can question the forum member that posted such.

    http://www.indigorose.com/forums/sho...45&postcount=1
    Intrigued

    Comment


    • #3
      Basic DX 9(c) detection:

      Code:
      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");
      end

      hope helps..
      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.
      Last edited by SUF6NEWBIE; 01-14-2005, 02:02 PM.

      Comment


      • #4
        to check if is initial release of DX9 (directx9A) or later

        if (Dxver < "4.09.00.0901") then

        end
        Last edited by SUF6NEWBIE; 01-15-2005, 05:12 PM.

        Comment

        Working...
        X