#if !defined(AFX_SPTHREAD_H__6156979C_1152_4CD5_A6D8_86E180975B75__INCLUDED_) #define AFX_SPTHREAD_H__6156979C_1152_4CD5_A6D8_86E180975B75__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SPThread.h : header file // ///////////////////////////////////////////////////////////////////////////// // CSPThread thread #include "SendThread.h" #define TH_SMSSP WM_USER + 430 //发送短消息 class CSPThread : public CWinThread { public: BOOL m_bStart; //现在是否在发送短信中 CAdoConnection m_adoConnection; CAdoRecordSet m_AdoRS; CAdoRecordSet m_AdoRS2; CAdoRecordSet m_AdoRS3; CSmsCenterDlg * m_pSMSDlg; DECLARE_DYNCREATE(CSPThread) //protected: public: CSPThread(); // protected constructor used by dynamic creation virtual ~CSPThread(); // Attributes public: // Operations public: static BOOL GetBBMonDay(COleDateTime tBirthday,int & iMon, int & iDay); BOOL SetParam(CSmsCenterDlg *pSmsDlg); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSPThread) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL afx_msg void On_SPDZ(WPARAM wParam, LPARAM lParam); // Implementation protected: // Generated message map functions //{{AFX_MSG(CSPThread) // NOTE - the ClassWizard will add and remove member functions here. //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SPTHREAD_H__6156979C_1152_4CD5_A6D8_86E180975B75__INCLUDED_)