hms.h

来自「Visual+C+++课程设计案例精编(附书代码),有通讯录,聊天程序等源吗,对」· C头文件 代码 · 共 58 行

H
58
字号
// HMS.h : main header file for the HMS application
//

#if !defined(AFX_HMS_H__B86915F2_8467_4B9C_9FED_22897198915E__INCLUDED_)
#define AFX_HMS_H__B86915F2_8467_4B9C_9FED_22897198915E__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

/////////////////////////////////////////////////////////////////////////////
// CHMSApp:
// See HMS.cpp for the implementation of this class
//

class CHMSApp : public CWinApp
{
public:
	CHMSApp();
public:
	_RecordsetPtr m_pRs;
	bool ADOExecute(_RecordsetPtr &ADOSet, _variant_t &strSQL);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHMSApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CHMSApp)
	afx_msg void OnAppAbout();
		// 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()
private:
	// Define ADO Database Connnection
	_ConnectionPtr m_pConn;

};
extern CHMSApp theApp;
extern CLeftTreeView* m_pLeftView;			//树视图

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HMS_H__B86915F2_8467_4B9C_9FED_22897198915E__INCLUDED_)

⌨️ 快捷键说明

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