www.pudn.com > vc编写的利用ado访问access数据库.rar > AdoRWAccess.h


////////////////////////////////////////////////////////////////////////////// 
//类名:CAdoRWAccessApp 
//功能:应用程序的初始化 
//作者:徐景周(jingzhou_xu@163.net) 
//组织:未来工作室(Future Studio) 
//日期:2002.12.10 
///////////////////////////////////////////////////////////////////////////// 
#if !defined(AFX_ADORWACCESS_H__B7BA1D5E_A954_492A_B7ED_5CC0E8A13F7C__INCLUDED_) 
#define AFX_ADORWACCESS_H__B7BA1D5E_A954_492A_B7ED_5CC0E8A13F7C__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#ifndef __AFXWIN_H__ 
	#error include 'stdafx.h' before including this file for PCH 
#endif 
 
#include "resource.h"		// main symbols 
 
///////////////////////////////////////////////////////////////////////////// 
// CAdoRWAccessApp: 
// See AdoRWAccess.cpp for the implementation of this class 
// 
 
class CAdoRWAccessApp : public CWinApp 
{ 
public: 
	CAdoRWAccessApp(); 
 
	// 定义ADO连接变量指针 
	_ConnectionPtr	m_pConnection; 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CAdoRWAccessApp) 
	public: 
	virtual BOOL InitInstance(); 
	virtual int ExitInstance(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
 
	//{{AFX_MSG(CAdoRWAccessApp) 
		// NOTE - the ClassWizard will add and remove member functions here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_ADORWACCESS_H__B7BA1D5E_A954_492A_B7ED_5CC0E8A13F7C__INCLUDED_)