[test] patch to disable SE translation for WinCE

The Windows CE CRT does not have support for structured exception translation via _set_se_translator and the eh.h header is not present. Attached is a patch of execution_monitor.ipp on CVS-HEAD to disable the structured exception translation code when _WIN32_WCE is defined. Thanks, -Dave

On Saturday 19 May 2007 20:50:16 David Deakins wrote:
The Windows CE CRT does not have support for structured exception translation via _set_se_translator and the eh.h header is not present. Attached is a patch of execution_monitor.ipp on CVS-HEAD to disable the structured exception translation code when _WIN32_WCE is defined.
From what I learned from discussions on the usenet, that is not the correct macro. This macro, if defined, defines a mimimum target version of CE, just like _WIN32_WINNT=0x400 for NT4. Now, what you should rather use is UNDER_CE to detect CE and then use that macro to distinguish between different target versions. Uli

Ulrich Eckhardt wrote:
On Saturday 19 May 2007 20:50:16 David Deakins wrote:
Attached is a patch of execution_monitor.ipp on CVS-HEAD to disable the structured exception translation code when _WIN32_WCE is defined.
Now, what you should rather use is UNDER_CE to detect CE and then use that macro to distinguish between different target versions.
That makes sense. Here is a revised patch using the UNDER_CE define rather than _WIN32_WCE. -Dave

"David Deakins" <ddeakins@veeco.com> wrote in message news:f2pl4c$tod$1@sea.gmane.org...
That makes sense. Here is a revised patch using the UNDER_CE define rather than _WIN32_WCE.
I am working on major update for the execution_monitor. I will try to include this patch either. It's not gonna happend soon though. My first priority is documentation update. Gennadiy
participants (3)
-
David Deakins
-
Gennadiy Rozental
-
Ulrich Eckhardt