www.pudn.com > AccessADO.rar > AccessDoc.h


// AccessDoc.h : interface of the CAccessDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_ACCESSDOC_H__C7BE96DA_F9DB_4118_A9B7_A97AC4A61AE1__INCLUDED_) 
#define AFX_ACCESSDOC_H__C7BE96DA_F9DB_4118_A9B7_A97AC4A61AE1__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "ADO.h" 
 
class CAccessDoc : public CDocument 
{ 
protected: // create from serialization only 
	CAccessDoc(); 
	DECLARE_DYNCREATE(CAccessDoc) 
 
// Attributes 
public: 
	CAdoConnection m_adoConnection; 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CAccessDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	BOOL Connect(); 
	virtual ~CAccessDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CAccessDoc) 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_ACCESSDOC_H__C7BE96DA_F9DB_4118_A9B7_A97AC4A61AE1__INCLUDED_)