For Windows 8 application certification, there are (among other) these requirements:
- 3.2 Your app must be compiled using the
/SafeSEH
flag to ensure safe exceptions handling - 3.3 Your app must be compiled using the
/NXCOMPAT
flag to prevent data execution - 3.4 Your app must be compiled using the
/DYNAMICBASE
flag for address space layout randomization (ASLR)
I wasn't able to find out how to enable either of these in C++Builder XE.
For /NXCOMPAT
and /DYNAMICBASE
, one can use editbin.exe
from VS or peflags.exe
from Cygwin. Though I would feel more confident about possible side-effects, if there was native way to enable these.
Anyway, I'm totally at loss regarding /SafeSEH
.