Thema: Delphi RAM auslesen - Fehler??

Einzelnen Beitrag anzeigen

hathor
(Gast)

n/a Beiträge
 
#3

AW: RAM auslesen - Fehler??

  Alt 30. Apr 2013, 21:47
Delphi-Quellcode:
function gettotalphysmemory: Int64;
var
  memoryEx: TMemoryStatusEx;
begin
  begin
    memoryEx.dwLength := sizeof(TMemoryStatusEx);
    GlobalMemoryStatusEx(memoryEx);
    gettotalphysmemory := memoryEx.ullTotalPhys;
  end;
end;

Geändert von hathor (30. Apr 2013 um 21:57 Uhr)
  Mit Zitat antworten Zitat