• 大小: 0.01M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-21
  • 标签:

资源简介

C++ 利用事件对象实现线程同步(提高篇-实例171).zip

资源截图

代码片段和文件信息

// EventSynch.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “EventSynch.h“
#include “EventSynchDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CEventSynchApp

BEGIN_MESSAGE_MAP(CEventSynchApp CWinApp)
//{{AFX_MSG_MAP(CEventSynchApp)
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CEventSynchApp construction

CEventSynchApp::CEventSynchApp()
{
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CEventSynchApp object

CEventSynchApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CEventSynchApp initialization

BOOL CEventSynchApp::InitInstance()
{
AfxEnableControlContainer();


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         832  2007-05-08 08:49  EventSynch\EventSynch.clw
     文件        1517  2007-05-08 08:49  EventSynch\EventSynch.cpp
     文件        4168  2007-05-08 08:49  EventSynch\EventSynch.dsp
     文件         545  2007-05-08 08:49  EventSynch\EventSynch.dsw
     文件        1226  2007-05-08 08:49  EventSynch\EventSynch.h
     文件       48640  2013-11-04 10:32  EventSynch\EventSynch.opt
     文件        4792  2007-05-08 08:49  EventSynch\EventSynch.rc
     文件        3801  2007-05-08 08:49  EventSynch\EventSynchDlg.cpp
     文件        1351  2007-05-08 08:49  EventSynch\EventSynchDlg.h
     文件         642  2007-05-08 08:49  EventSynch\resource.h
     文件         212  2007-05-08 08:49  EventSynch\StdAfx.cpp
     文件        1054  2007-05-08 08:49  EventSynch\StdAfx.h
     文件         112  2007-05-08 08:49  EventSynch\程序使用说明 .txt
     文件        1078  2007-05-08 08:49  EventSynch\res\EventSynch.ico
     文件         402  2007-05-08 08:49  EventSynch\res\EventSynch.rc2

评论

共有 条评论