title: IMAGE_FILE_NET_RUN_FROM_SWAP in Delphi XE7
body: <p>By writing a portable WIn32 app I want to make sure that all the proper settings are done.</p>
  
  <p>I googled for it and found the compiler <code>IMAGE_FILE_NET_RUN_FROM_SWAP</code> switch.</p>
  
  <p>I tried to include it in my <code>dpr</code> file just like this:</p>
  
  <pre><code>{$SetPEFlags IMAGE_FILE_NET_RUN_FROM_SWAP} // THIS ONE!
  {$R *.dres}
  {$R *.res}
  </code></pre>
  
  <p>Anyway Delphi XE7 says</p>
  
  <pre><code>[dcc32 Error] Project1.dpr(330): E2003 Undeclared identifier: 'IMAGE_FILE_NET_RUN_FROM_SWAP'
  </code></pre>
  
  <p>Anyway by reading <a href="http://docwiki.embarcadero.com/RADStudio/XE7/en/PE_(portable_executable)_header_flags_(Delphi)" rel="nofollow">Embarcaero wiki</a> it seems the name is fine.</p>
  
  <p>Any suggestion?</p>