rcerrormessage.h

来自「MSSQL备份及恢复的VC++源代码。提供给大家学习。」· C头文件 代码 · 共 38 行

H
38
字号
//////////////////////////////////////////////////////////////////////////////
//																			//
//			Created by Ozzy Osbourne(maojun) . HangZhou . 20030214			//
//																			//
//////////////////////////////////////////////////////////////////////////////

// CRcErrorMessage is format run time error message. 
// 
// Expect bugs.
// 
// Please use and enjoy. Please let me know of any bugs/mods/improvements 
// that you have found/implemented and I will fix/incorporate them into this file.
// Please send report to OzzyJMalmsteen@yahoo.com.cn or Ozzman@163.net

#ifndef _RCERRORMESSAGE_H_
#define _RCERRORMESSAGE_H_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CRcErrorMessage  
{
public:
	CRcErrorMessage();
	virtual ~CRcErrorMessage();
	CString GetErrorMessage() { return m_strErrorMessage; }

public:
	BOOL FormatErrorMessage(LPCTSTR lpszStep, DWORD dwLastError);

private:
	CString m_strErrorMessage;

};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?