1.3.33 $SETPEFLAGS : Specify PE Executable flags

The $SETPEFLAGS executable sets the PE flags on Windows. These flags are written to the binary PE header file. It expects a numerical constant as an argument, this constant will be written to the header block.

Under normal circumstances, the compiler itself will determine the values of the PE flags to write to the binary file, but this directive can be used to override the compiler’s behaviour.