I'm trying to get
01) the amount of total RAM the computer has
02) the amount of RAM currently available
I can't seem to find any decent tutorials for it.
I'm using DirectX, but I can't find ANYTHING in DirectX that does this... :-(
Does anyone know how/where I can do this?
I tried to use the sample program provided at that link, but couldn't get it to work. However, I was able to get the sample program for GlobalMemoryStatus to work.
When I tried using the GlobalMemoryStatusEx sample program, I got the error message that MEMORYSTATUSEX and GlobalMemoryStatusEx was "undefined". I think it was because they left out an #include in the sample program provided. Even the sample program for GlobalMemoryStatus left out #include <stdio.h> which is required for printf to work.
Do you know how I can use that sample program at GlobalMemoryStatusEx and get it to work?
Never mind... I don't need the extended version.