ATL uses thunks to manage callbacks for windows, and apparently it needs to allow for data execution.
Note that system DEP policy can override, and having DEP
AlwaysOn
will disable ATL thunk emulation, regardless of the attribute.
Am I correct in translating this quote to (more or less) "ATL applications can crash due to system policies"?
Is there a way to make a pre-ATL-8.0 application work correctly on any system, hopefully while still turning on DEP for everything other than the thunk?