⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wordthread.cpp

📁 使用VC编写的GPRS通讯代码,可用于GPRS MODEM收发数据
💻 CPP
字号:
// WordThread.cpp : implementation file
//

#include "stdafx.h"
#include "vc_demo.h"
#include "WordThread.h"

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

/////////////////////////////////////////////////////////////////////////////
// CWordThread

IMPLEMENT_DYNCREATE(CWordThread, CWinThread)

CWordThread::CWordThread()
{
}

CWordThread::~CWordThread()
{
}

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CWordThread message handlers

int  CWordThread::Run()
{
	//this thread is used to write received data to file
	return CWinThread::Run();
}

⌨️ 快捷键说明

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