📄 thread2.h
字号:
#if !defined(AFX_THREAD2_H__38F82258_45A4_4617_B7DE_915611F7C56E__INCLUDED_)
#define AFX_THREAD2_H__38F82258_45A4_4617_B7DE_915611F7C56E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Thread2.h : header file
//
#include "MyThreadDlg.h"
#include "smgpapi.h"
#include "smgpdef.h"
#include "Thread3.h"
#include "Thread1.h"
class CMyThreadDlg;
class Thread3;
class Thread1;
/////////////////////////////////////////////////////////////////////////////
// Thread2 thread
class Thread2 : public CWinThread
{
DECLARE_DYNCREATE(Thread2)
protected:
Thread2(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
//BOOL m_conn_status;
virtual int Run();
void GetOwner(CMyThreadDlg*m_pOwner,Thread3* pThread3,Thread1*pThread1);
int GetVisit(char*phone,char*service_id,int maxId);
CMyThreadDlg* m_pDlg;
Thread3*m_thread3;
Thread1*m_thread1;
BOOL m_stop_state;
BOOL m_active1;
HRESULT hr;
_ConnectionPtr*m_connection;
//_RecordsetPtr m_recordset1;
_RecordsetPtr m_recordset;
_variant_t RecordsAffected;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Thread2)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~Thread2();
// Generated message map functions
//{{AFX_MSG(Thread2)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_THREAD2_H__38F82258_45A4_4617_B7DE_915611F7C56E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -