code to detect if directx is installed...

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
uzik
Posts: 24
Joined: Wed Sep 22, 2004 4:56 pm

code to detect if directx is installed...

Post by uzik »

Good afternoon all,

Has anyone put together code to detect if Directx is installed?
So far all I've found is:
http://www.midwinter.com/~lch/programmi ... agnostics/

Looks like a great little library. I got it displaying a mesh and rotating
it within 24 hours. It's great to have documentation! :D
mreuter
Posts: 4
Joined: Tue Sep 21, 2004 8:28 am
Location: Düsseldorf
Contact:

Post by mreuter »

there is an sample in the DirectX-SDK including a function that can be used to detect the installed DirectX-Version. The sample can be found in the DirectX-SDK-Directory at .\Samples\C++\Misc\GetDXVer
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

look for an app called:
dxdiag.exe
in your system32 folder.

it will display and test your version of directx on everything.
Image
uzik
Posts: 24
Joined: Wed Sep 22, 2004 4:56 pm

Post by uzik »

Thanks mreuter :)

I think that's just what I was looking for
Post Reply