Compiler directive SETPEFlags in Deplhi 5
<p>I have one application which is built using Delphi 5.0 and works fine without any issues. But when running large report my application needs more than 2 Gb memory. After doing analysis found that using Compiler directive SETPEFlags we can increase 32 bit application memory upto 4 GB. </p>

<p>I am trying to set in my program in Delphi 5.0 but getting error "Invalid Compiler Directive". Can somebody suggest any way to resolve without rebuilding application in other version. Or what version those got added to Delphi?</p>

<p>Thanks in advance. </p>