How can I enable my 32-bit Delphi application to use 4gb of memory on 64-bit windows (via Wow64.exe)?

See this CodeCentral article: Using more than 3 GB memory in a 32 bit Delphi program.

In modern Delphi versions just add compiler directive to the dpr:
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}

Leave a Comment