如何判断是不是C++ exception
GT2L 2007-12-06 12:16:24 大家好,
是这样的,在一个程序中我希望捕捉到异常但是不想捕捉到C++ exception
if (WaitForDebugEvent(&dbg, 100))
{
// 在这里判断是不是异常
if (dbg.dwDebugEventCode != EXCEPTION_DEBUG_EVENT)
{
//code
continue;
}
但是这么判断连C++ exception的异常也一起抓到了,怎么判断如果是C++的异常就放过?
谢谢大家