Skip to main content
gamedev.net
🔒 Locked

Version Test?

Started by Toyemann Jul 30, 2002 at 9:26 PM 1 replies 300+ views
Original Post
Toyemann
Toyemann
Probably, somebody already asked. Anyway, what is the best way to test if DirectX8.1 is installed? Thanks, -Toyemann
Greven
Greven
Try to create a DX8 device. If it fails, then it probably isn''t installed. Then you could fall back and try to create a DX7 device. Isn''t that the standard way to test?

Always remember, you''''re unique. Just like everyone else.
Always remember, you''re unique. Just like everyone else.Greven
S1CA
S1CA
Look at the GetDXVer code in the DirectX SDK for example code to do this. It''s in the Misc folder within samples.

--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.