OS ID
BlitzPlus Forums/BlitzPlus Programming/OS ID
| ||
Hey Blitzers, I've been wondering: using the 2D command set in Blitz 3D, does anyone know a way to identify the user's Windows version? Also, I've been wondering if there's a way for Blitz to identify the CPU type, gfx card, desktop resolution (outside the program,) etc. |
| ||
Here Is all that I've found out about os and hardware detection. http://www.blitzbasic.com/Community/posts.php?topic=58316 However, I did come up with these bits of code for finding resolution and gfx drivers (the closest thing I've found). Also, for the OS detection you may want to consider "Getenv("OS")", however I have found it to be unreliable in its definitions of Windows OS's (like the environment variable not even existing on 98's). Everything else you want will probably require API's and userlibs (see the link above). That's about all I've got. |
| ||
Thanks Alaric, but unfortunately that doesn't help me; the Blitz 3D 2D commands don't include GetEnv(), ClientWidth(), ClientHeight(), or Desktop(). Thanks again anyway. |
| ||
ADAM, any chance of shortening your nic? It's making the main forum pages on my browser look pretty ugly. |
| ||
Well, ADAM was already taken... How's this? |