Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Get installed DirectX Version

Author
Message
Hubdule
22
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 10th Feb 2003 09:12
I hope you'll find that usefull

Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 10th Feb 2003 09:35
^_^ Nice... =P

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 10th Feb 2003 23:00
interesting .

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 11th Feb 2003 05:33
nice hubdule,

Im adding your snippet the DBP-DIAG an open source Diagnostic script that spits out a file relating to your systems abilities with credits of course.




got an idea how to find the windows version?

like win98se win2k etc.

Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 11th Feb 2003 07:35
O_O indi I bet it would be in the registry... and db can broswe it can't it?

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 11th Feb 2003 10:55
http://www.realgametools.net/forums/index.php?board=14;action=display;threadid=12871


i posted the start of DBdiag at RGT


yes it would be a registry key i would imagine but how would u call it and is it the same and in the same place on all of the windows OSes.

Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 26th Feb 2003 12:48
indi, i've released a DLL - so has Toady for getting this information

i figured this was grabbing it from a part of DirectX, i hope the Registry holds the correct version

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 26th Feb 2003 15:07
I worked this out ages ago with contextual help from MRtatoad.

its part of DBP diag if u missed grabbing it, see the link above.

MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 26th Feb 2003 15:30
If you want to find out what OS is used, got an plug-in for that too...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 27th Feb 2003 02:53
hehe there he his, him him him <----

large_nostril
21
Years of Service
User Offline
Joined: 5th Feb 2003
Location: United States
Posted: 27th Feb 2003 06:00
Why is it necessarily relevant to be able to determine the DirectX version installed. If you ran you program and the required DX wasn't installed (7 or 8.1) the game would terminate and there would be no relevance to knowing the DX installed. If the user has the proper DX installed, why would they need to worry? Don't get me wrong. This is a great piece of code and I am still dumbfounded and can't quite figure out what it is doing(I wouldn't be able to program this), but why would this really be relevant?

If you want fresh underwear in the morning, take it off the night before.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 27th Feb 2003 06:40
imagine a feature only existed in dx9 but had to be created a different way as compared to dx7

it only helps to identify the platform your game is running on and to identify what u can access.

large_nostril
21
Years of Service
User Offline
Joined: 5th Feb 2003
Location: United States
Posted: 27th Feb 2003 07:18
Ok, makes perfect sense; has there been anything like that ever?

If you want fresh underwear in the morning, take it off the night before.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 27th Feb 2003 07:34
well i have a few DirectX 8.1 & 9 functions for Professional ... but it detects which DirectX is installed (differently than to above) and uses the apropriote libraries

so really have 2 sets of functions written for the same tast but written to take full advantage of each DirectX

though really all indi is doing is making a System Checker, or perhaps a startup editor based on features

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 27th Feb 2003 08:37
yes thats correct its help all the programs being made to identify what platform and features is on the system the program runs on so it knows in a fuzzy logic what to use.

MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 27th Feb 2003 11:12
hehe there he his, him him him <----

Are you refering to moi ?

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 27th Feb 2003 11:53
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 27th Feb 2003 13:16
Ah...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!

Login to post a reply

Server time is: 2024-11-24 05:05:41
Your offset time is: 2024-11-24 05:05:41