My Project
|
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 #pragma once 00029 #include "Define.h" 00030 #include <string> 00031 #include "StackWalker.h" 00032 00033 namespace SallyAPI 00034 { 00035 namespace Exception 00036 { 00045 00046 class DLL_API_SALLY CExceptionStackWalker 00047 : public StackWalker 00048 { 00049 private: 00050 std::string m_strOutput; 00051 public: 00052 CExceptionStackWalker(); 00053 CExceptionStackWalker(DWORD dwProcessId, HANDLE hProcess); 00054 virtual void OnOutput(LPCSTR szText); 00055 00056 std::string GetStack(); 00057 }; 00058 } 00059 }