Results 1 to 2 of 2

Thread: Getting DirectX version

  1. #1
    pjvdg
    Guest

    Exclamation

    I am creating a game that requires DirectX 7, how can I get the DirectX version(if lower than 7, DX setup will start)?

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Code:
    Function IsDX7 as Boolean
    
       On Error Goto NoDX7
       Dim DirectX As New DirectX7
    
       IsDX7=TRUE
       Exit Function
    NoDX7:
       IsDX7=FALSE
    End Function
    That should do it.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width