dbexcept.h

来自「Visual C++ 实践与提高--数据库篇的源代码。很好的东西。欢迎下载。」· C头文件 代码 · 共 44 行

H
44
字号
///////////////////////////////////////////////////////////////////////////
// DBEXCEPT.H
//
// This is a part of the Microsoft Foundation Classes and
// Templates (MFC&T).
// Copyright (C) 1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// MFC&T Reference and related electronic documentation provided
// with the library.  See these sources for detailed information
// regarding the MFC&T product.
//

#ifndef __DBEXCEPT_H__
#define __DBEXCEPT_H__

///////////////////////////////////////////////////////////////////////////
// class COLEDBException

class COLEDBException : public CException
{
	DECLARE_DYNAMIC(COLEDBException)
public:
// Constructors and Destructors
	COLEDBException();
	COLEDBException(LPUNKNOWN lpUnk, const IID& iid);
	virtual ~COLEDBException();

// Attributes
public:
	LPUNKNOWN m_lpUnk;
	IID m_iid;
};

void AFXAPI AfxThrowOLEDBException(LPUNKNOWN lpUnk,
				const IID& iid);

///////////////////////////////////////////////////////////////////////////

#endif // _LATER

///////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

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