I want my application to be able to use more than 2GB memory, I googled around and found that the IMAGE_FILE_LARGE_ADDRESS_AWARE command lets me do that.
So I added
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
To my program's .dpr file, after all the uses and the {$R *.res} line,
but when I compile, I get the error:
E2003 Undeclared identifier: 'IMAGE_FILE_LARGE_ADDRESS_AWARE'
What am I doing wrong?
Also, on Windows 7 64bit, do I need to mess around with boot settings for this command to work, or just compile a 32bit application with the command and it will do everything else automatically?
Thanks
uses Windows
– Premature Optimization