getting system information from Blitz

Blitz3D Forums/Blitz3D Beginners Area/getting system information from Blitz

Hansie(Posted 2003) [#1]
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?


GfK(Posted 2003) [#2]
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.


Perturbatio(Posted 2003) [#3]
Yeah, says mine is intel too.


BlitzSupport(Posted 2003) [#4]
You'll have to use the userlibs. The Registry is a good place to pick up all this kinda stuff...


Hansie(Posted 2003) [#5]
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?????


_PJ_(Posted 2013) [#6]
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.