For Windows 8 application certification, there are (among other) these requirements:
- 3.2 Your app must be compiled using the
/SafeSEHflag to ensure safe exceptions handling - 3.3 Your app must be compiled using the
/NXCOMPATflag to prevent data execution - 3.4 Your app must be compiled using the
/DYNAMICBASEflag 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.