getstatethread.cpp

来自「VisualC++通信编程工程实例精解 Chapter 2 Example」· C++ 代码 · 共 47 行

CPP
47
字号
// GetStateThread.cpp : implementation file
//

#include "stdafx.h"
#include "NewAT.h"
#include "GetStateThread.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CGetStateThread

IMPLEMENT_DYNCREATE(CGetStateThread, CWinThread)

CGetStateThread::CGetStateThread()
{
}

CGetStateThread::~CGetStateThread()
{
}

BOOL CGetStateThread::InitInstance()
{
	// TODO:  perform and per-thread initialization here
	return TRUE;
}

int CGetStateThread::ExitInstance()
{
	// TODO:  perform any per-thread cleanup here
	return CWinThread::ExitInstance();
}

BEGIN_MESSAGE_MAP(CGetStateThread, CWinThread)
	//{{AFX_MSG_MAP(CGetStateThread)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CGetStateThread message handlers

⌨️ 快捷键说明

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