Page 1 of 1
RAM info?
Posted: Fri May 19, 2006 6:00 am
by nicolaus
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
Posted: Fri May 19, 2006 6:37 am
by SoS
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
Posted: Fri May 19, 2006 6:51 am
by nicolaus
thanks for fast reply.
i think your calculation for GB is not right or?
Posted: Fri May 19, 2006 6:53 am
by SoS
ups,edited
