Is ther a way to get my prgoram to check if DX8+ is installed so the machine might be able to run my game?
check for DX
Blitz3D Forums/Blitz3D Programming/check for DX Err, Blitz only requires Dx7. And anyway, it'll just tell the user "graphics mode unavailable" or something to that affect. I don't know of any computers running win32 that don't have dx7 but eh. I'm just saying it's very low level and you should just put it in the system requirements.
There's a key in the registry which holds the DirectX version.
I believe the location and key is :
"SOFTWARE\Microsoft\DirectX", "Version"
And it returns a number like 4.8.1
where 8 is the major version and 1 is the minor version.
So DX8.0 returns 4.8.0, DX8.1 returns 4.8.1, etc. And yeah, you only need above 7 for major version in order for a Blitz program to work.
I believe the location and key is :
"SOFTWARE\Microsoft\DirectX", "Version"
And it returns a number like 4.8.1
where 8 is the major version and 1 is the minor version.
So DX8.0 returns 4.8.0, DX8.1 returns 4.8.1, etc. And yeah, you only need above 7 for major version in order for a Blitz program to work.
I THINK everything from Win98 and up has DX 7 or higher installed as standard (if the first edition of Win98 doesn't have DX6 or something).
Yep, just put DirectX7 and into the system requirements, then it shouldn't become a problem.
Yep, just put DirectX7 and into the system requirements, then it shouldn't become a problem.
The sample machine was a bargain bin eMachine... I just wanted to see if it would run on that.
win98 fe and se has dx 6 :P