DirectX
Blitz3D Forums/Blitz3D Beginners Area/DirectX
| ||
Hi, Is there a way to detect the DirectX version in Blitz? |
| ||
Yes there is using a dll...and a userlib...i think jfk made some demo's waaay back.... |
| ||
Ok, sins I am new here could you help me find it please ? |
| ||
Yes there is using a dll...and a userlib...i think jfk made some demo's waaay back.... I don't see how, since Blitz3D apps crash on startup if DirectX7 or higher isn't present...be interesting to see tho... If you're talking Blitz+, since it runs on any version of DirectX it doesn't really matter which version is being used, does it? |
| ||
He wants to get the DX version installed on the system with B3D...He could use that for any number of purposes. Writing Userlib now will publish later.... If you want to try i for yourself use this.... Minor%,Majour% are pointers so make banks and pass them along when callin the function then use peek to get the result back... .lib "dsetup.dll" DirectXSetupGetVersion%(Minor%,Majour%):"DirectXSetupGetVersion" |
| ||
Ok, iŽll try that... |