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

  • 大小: 44KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-05
  • 語言: C/C++
  • 標簽: vc++??通信??

資源簡介

VC++利用消息機制在兩個EXE程序間通信,在發送端發送消息,終端可以即時監聽并接收到消息,然后給出提示。通過本程序可了解一些程序間數據交換的相關技巧。

資源截圖

代碼片段和文件信息

//?Receiver.cpp?:?Defines?the?class?behaviors?for?the?application.
//?Download?by?http://www.codefans.net

#include?“stdafx.h“
#include?“Receiver.h“
#include?“ReceiverDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CReceiverApp

BEGIN_MESSAGE_MAP(CReceiverApp?CWinApp)
//{{AFX_MSG_MAP(CReceiverApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CReceiverApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CReceiverApp?object

CReceiverApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CReceiverApp?initialization

BOOL?CReceiverApp::InitInstance()
{
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

CReceiverDlg?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;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????3615??2002-05-23?00:32??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\ReadMe.txt

?????文件??????35624??2002-05-23?01:17??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\Receiver.aps

?????文件???????1038??2002-05-28?21:33??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\Receiver.clw

?????文件???????2127??2010-05-18?21:26??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\Receiver.cpp

?????文件???????4195??2002-05-23?00:32??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\Receiver.dsp

?????文件????????541??2002-05-23?00:32??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\Receiver.dsw

?????文件???????1346??2002-05-23?00:32??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\Receiver.h

?????文件???????5210??2002-05-23?01:17??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\Receiver.rc

?????文件???????4521??2010-05-18?21:26??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\ReceiverDlg.cpp

?????文件???????1414??2002-05-23?00:34??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\ReceiverDlg.h

?????文件???????1078??2002-05-23?00:32??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\res\Receiver.ico

?????文件????????400??2002-05-23?00:32??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\res\Receiver.rc2

?????文件????????538??2002-05-23?00:32??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\Resource.h

?????文件????????210??2002-05-23?00:32??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\StdAfx.cpp

?????文件???????1054??2002-05-23?00:32??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Receiver\StdAfx.h

?????文件???????3579??2002-05-23?00:29??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\ReadMe.txt

?????文件???????1078??2002-05-23?00:29??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\res\Sender.ico

?????文件????????398??2002-05-23?00:29??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\res\Sender.rc2

?????文件????????776??2002-05-23?00:31??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\resource.h

?????文件??????35764??2002-05-23?01:14??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\Sender.aps

?????文件???????1169??2002-05-23?02:07??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\Sender.clw

?????文件???????2099??2010-05-18?21:27??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\Sender.cpp

?????文件???????4159??2002-05-23?00:29??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\Sender.dsp

?????文件????????537??2002-05-23?00:29??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\Sender.dsw

?????文件???????1324??2002-05-23?00:29??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\Sender.h

?????文件???????5358??2002-05-23?01:14??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\Sender.rc

?????文件???????4926??2010-05-18?21:27??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\SenderDlg.cpp

?????文件???????1429??2002-05-23?00:30??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\SenderDlg.h

?????文件????????208??2002-05-23?00:29??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\StdAfx.cpp

?????文件???????1054??2002-05-23?00:29??softhy.net\VC++通過消息機制實現Exe程序間的數據交換\Sender\StdAfx.h

............此處省略10個文件信息

評論

共有 條評論