1234567891011121314151617181920 |
- #pragma once
- #include "eh.h"
- #include "windows.h"
- #include <exception>
- #include <afx.h>
- using namespace std;
- //在多线程程序中,每个线程有一个独立的转换函数。
- class structured_exception : public std::exception
- {
- public:
- structured_exception(EXCEPTION_POINTERS const &) throw();
- static void install() throw();
- virtual char const *what() const throw();
- void const *where() const throw();
- private:
- void const *address_;
- unsigned code_;
- };
|