WordThread.cpp
资源名称:GPRS开发包.rar [点击查看]
上传用户:lmzg333
上传日期:2013-04-15
资源大小:376k
文件大小:1k
源码类别:
通讯/手机编程
开发平台:
Visual C++
- // 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();
- }