You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
781 B
C++
30 lines
781 B
C++
// PromptExceptionMessage.h: interface for the CPromptExceptionMessage class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
#include "DllDefines.h"
|
|
|
|
#include <string>
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPromptExceptionMessage
|
|
|
|
class UTILITYDLL CPromptExceptionMessage
|
|
{
|
|
private:
|
|
static std::string m_strLastMessage;
|
|
// default constructor
|
|
CPromptExceptionMessage();
|
|
|
|
// default destructor
|
|
virtual ~CPromptExceptionMessage();
|
|
|
|
public:
|
|
// prompt Memory exception specific the file
|
|
static void promptMemoryException(CMemoryException* MemoryException, std::string csDbFileName = "");
|
|
|
|
static std::string GetLastMessage();
|
|
static void ResetLastMessage();
|
|
};
|