91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4.44MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-16
  • 語言: C/C++
  • 標簽: 共享內存??

資源簡介

使用MFC開發的共享內存測試程序,用于完成內存鏡像文件的創建與讀寫功能,實現不同進程之間進行數據交換

資源截圖

代碼片段和文件信息

//?Client.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“Client.h“
#include?“ClientDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CClientApp

BEGIN_MESSAGE_MAP(CClientApp?CWinApp)
//{{AFX_MSG_MAP(CClientApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CClientApp?construction

CClientApp::CClientApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CClientApp?object

CClientApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CClientApp?initialization

BOOL?CClientApp::InitInstance()
{
if?(!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return?FALSE;
}

AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CClientDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-10-19?21:37??Client\
?????文件???????21636??2012-11-09?16:10??Client\Client.aps
?????文件????????1533??2012-11-09?16:22??Client\Client.clw
?????文件????????2157??2012-10-19?21:14??Client\Client.cpp
?????文件????????4159??2012-10-19?21:14??Client\Client.dsp
?????文件?????????520??2012-10-19?21:14??Client\Client.dsw
?????文件????????1324??2012-10-19?21:14??Client\Client.h
?????文件???????58368??2012-11-09?16:23??Client\Client.ncb
?????文件???????48640??2012-11-09?16:23??Client\Client.opt
?????文件?????????957??2012-10-19?21:32??Client\Client.plg
?????文件????????5949??2012-10-19?21:28??Client\Client.rc
?????文件????????6041??2012-10-19?21:32??Client\ClientDlg.cpp
?????文件????????1438??2012-10-19?21:28??Client\ClientDlg.h
?????目錄???????????0??2012-10-19?21:37??Client\Debug\
?????文件??????110666??2012-10-19?21:32??Client\Debug\Client.exe
?????文件??????211272??2012-10-19?21:32??Client\Debug\Client.ilk
?????文件???????14298??2012-10-19?21:31??Client\Debug\Client.obj
?????文件?????5568872??2012-10-19?21:26??Client\Debug\Client.pch
?????文件??????377856??2012-10-19?21:32??Client\Debug\Client.pdb
?????文件????????2948??2012-10-19?21:31??Client\Debug\Client.res
?????文件???????27274??2012-10-19?21:32??Client\Debug\ClientDlg.obj
?????文件??????106657??2012-10-19?21:26??Client\Debug\StdAfx.obj
?????文件??????205824??2012-10-19?21:32??Client\Debug\vc60.idb
?????文件??????364544??2012-10-19?21:32??Client\Debug\vc60.pdb
?????文件????????3579??2012-10-19?21:14??Client\ReadMe.txt
?????目錄???????????0??2012-10-19?21:37??Client\res\
?????文件?????????959??2012-10-19?21:26??Client\resource.h
?????文件????????1078??2012-10-19?21:14??Client\res\Client.ico
?????文件?????????398??2012-10-19?21:14??Client\res\Client.rc2
?????文件?????????208??2012-10-19?21:14??Client\StdAfx.cpp
?????文件????????1102??2012-10-19?21:14??Client\StdAfx.h
............此處省略31個文件信息

評論

共有 條評論