Address Windowing Extensions (AWE) for Delphi allows your 32-bit application to quickly manipulate physical memory greater than 4GB.

Library API

// size of total physical memory in bytes
function TotalPhysicalMemory: Int64;

// size of available physical memory in bytes
function AvailablePhysicalMemory: Int64;

// allocate physical memory (returns 0 if cannot allocate)
function AllocPhysicalMemory(Size: LongWord): LongWord;

// free physical memory
function FreePhysicalMemory(Handle: LongWord): Boolean;

// map physical memory to virtual memory space
function MapPhysicalMemory(Handle: LongWord): Pointer;

// unmap physical memory from virtual memory space
function UnmapPhysicalMemory(Handle: LongWord): Boolean;


Related links