Hello,
How i can find informations about the RAM in a system?
I want know how many RAM is in the system and how many is momently free and how many is in use.
Thanks,
Nico
RAM info?
http://msdn.microsoft.com/library/defau ... ex_str.asp
Code: Select all
memex.MEMORYSTATUSEX
memex\dwLength = SizeOf(MEMORYSTATUSEX)
If GlobalMemoryStatusEx_(@memex)
debug str(memex\dwMemoryLoad) +" %"
debug str(memex\ullTotalPhys /1024/1024)+" MB"
debug str(memex\ullAvailPhys /1024/1024)+" MB"
debug str((memex\ullTotalPageFile /1024/1024)-(memex\ullTotalPhys /1024/1024))+" MB"
debug str((memex\ullAvailPageFile /1024/1024)-(memex\ullTotalPhys /1024/1024))+" MB"
endif