According to the DocWiki which was simply probably not updated, the following should be a valid directive in a .pas file:
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
However it causes this dcc32 error:
[dcc32 Error] Project1.dpr(13): E2003 Undeclared identifier:
'IMAGE_FILE_LARGE_ADDRESS_AWARE'
Has this ability been lost, or is it now always on?
Winapi.Windows
module? – Victoria