Mixing C++ and SEH exception handling