getting system information from Blitz
Blitz3D Forums/Blitz3D Beginners Area/getting system information from Blitz
| ||
All, How does one get system information using Blitz3D? I am thinking of info such as: - what CPU is installed? - how much memory is installed? - what OS etc etc is that at all possible? |
| ||
OS:Print SystemProperty$("OS") CPU (says my Athlon is an Intel tho?): Print SystemProperty$("CPU") Read up on the SystemProperty() and GetEnv() functions for more trickery. |
| ||
Yeah, says mine is intel too. |
| ||
You'll have to use the userlibs. The Registry is a good place to pick up all this kinda stuff... |
| ||
but guys, without sounding like a "moran" all the docs say is that SystemProperty() is used only to get "folder" information??? where on earth is "OS" and "CPU" mentioned in the documentation????? |
| ||
SystemProperty("OS") returns "Windows XP" for Windows 8 - even if the value is still the default "Windows_NT" DOH! Solved this, I had been running IDEal in "Compatibility Mode for Windows XP" and forgotten. ___ My personal recommendation would be to use the Kernal32 to retireive system info, or AdvApi32 and check the registry for more accurate system info results. |