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

  • 大小: 273KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-05
  • 語言: 其他
  • 標簽: C++??

資源簡介

VC編寫的簡單聊天程序

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“Info.h“
#include?“InfoDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CInfoApp

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

/////////////////////////////////////////////////////////////////////////////
//?CInfoApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CInfoApp?object

CInfoApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CInfoApp?initialization

BOOL?CInfoApp::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

CInfoDlg?dlg;
m_pMainWnd?=?&dlg;

CString?str;
eee=OpenMutex(MUTEX_ALL_ACCESSfalsestr);
if(eee==NULL)
{

eee=CreateMutex(NULLtruestr);
m=TRUE;
}
else
{
m=FALSE;
}









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



int?CInfoApp::ExitInstance()?
{

if(eee?!=NULL)
ReleaseMutex(eee);

return?CWinApp::ExitInstance();
}

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

?????文件???????3543??2004-07-11?13:27??VC編寫的簡單聊天程序\7-聊天軟件\ReadMe.txt

?????文件???????1371??2004-07-11?13:27??VC編寫的簡單聊天程序\7-聊天軟件\Info.h

?????文件???????1541??2004-07-11?13:27??VC編寫的簡單聊天程序\7-聊天軟件\MySocket.cpp

?????文件???????1382??2004-07-11?13:27??VC編寫的簡單聊天程序\7-聊天軟件\MySocket.h

?????文件???????1102??2004-07-11?13:27??VC編寫的簡單聊天程序\7-聊天軟件\StdAfx.h

?????文件????????206??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\StdAfx.cpp

?????文件????????531??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\Info.dsw

?????文件????????938??2005-12-14?14:01??VC編寫的簡單聊天程序\7-聊天軟件\Info.plg

?????文件???????2431??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\Info.cpp

?????文件???????2101??2004-08-22?00:46??VC編寫的簡單聊天程序\7-聊天軟件\Resource.h

?????文件???????2795??2004-08-22?00:52??VC編寫的簡單聊天程序\7-聊天軟件\InfoDlg.h

?????文件?????851312??2005-12-14?13:59??VC編寫的簡單聊天程序\7-聊天軟件\Info.aps

?????文件???????7692??2004-08-22?00:55??VC編寫的簡單聊天程序\7-聊天軟件\Info.rc

?????文件???????3699??2004-08-22?00:56??VC編寫的簡單聊天程序\7-聊天軟件\Info.dsp

?????文件???????2292??2005-12-14?14:01??VC編寫的簡單聊天程序\7-聊天軟件\Info.clw

?????文件???????4152??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\85.bmp

?????文件???????4152??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\49.bmp

?????文件???????6656??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\Thumbs.db

?????文件??????11776??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\135.avi

?????文件??????37494??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\title.bmp

?????文件??????30414??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\about.bmp

?????文件?????193194??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\beijing.bmp

?????文件??????29718??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\bitmap3.bmp

?????文件?????553302??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\eee.bmp

?????文件????????653??2004-08-22?00:46??VC編寫的簡單聊天程序\7-聊天軟件\res\xptheme.bin

?????文件????????396??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\Info.rc2

?????文件???????1078??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\Info.ico

?????文件???????1078??2004-07-11?13:28??VC編寫的簡單聊天程序\7-聊天軟件\res\HOUSE.ICO

?????目錄??????????0??2004-09-27?22:17??VC編寫的簡單聊天程序\7-聊天軟件\res

?????文件??????50176??2005-12-14?14:01??VC編寫的簡單聊天程序\7-聊天軟件\Info.ncb

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

評論

共有 條評論