locked
SetProcessDEPPolicy acting strangely? RRS feed

  • Question

  • I'm running x86-64 Vista SP1.  After I call SetProcessDEPPolicy(PROCESS_DEP_ENABLE), when I call GetProcessDEPPolicy() it returns both PROCESS_DEP_ENABLE and PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION.  It appears to always disable ATL thunk emulation.

     

    Am I doing something incorrectly?  I am not using /NXCOMPAT, and my tests were done with "OptIn" mode.

     

    Thanks!

    Thursday, November 6, 2008 11:18 PM