PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

C++ Exception Handling and WinCE 3.0

Microsoft's promotional documention on Win CE.NET mentions that they've now added support for C++ Exceptions. Previous versions of CE have requires the use of a platform specific macro language (_try, _except, etc).

My question is has anyone had any luck creating some macros to wrap this "feature" up so that their Win32 apps can use real C++ Exceptions and their WinCE apps use the SEH (The _try, _except, etc, macros), or should I just aim for using Win32 SEH for both platforms?
Good luck getting the destructors of your C++ objects called using Win32 SEH.
lovely... I knew I didn't want to screw with this...

Might have to investigate how MFC's exception classes work...