資源簡介
視頻聊天軟件 VC++ 源代碼
絕對能幫到大家

代碼片段和文件信息
//?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()
{
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
//初始化套接字
WSADATA?wsd;
AfxSocketInit(&wsd);
AfxInitRichEdit();
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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1553??2009-05-18?22:01??視頻聊天軟件\Client\Client.clw
?????文件???????2139??2008-12-11?17:32??視頻聊天軟件\Client\Client.cpp
?????文件???????4351??2008-12-11?17:32??視頻聊天軟件\Client\Client.dsp
?????文件????????537??2008-12-09?16:25??視頻聊天軟件\Client\Client.dsw
?????文件???????1324??2008-12-09?16:25??視頻聊天軟件\Client\Client.h
?????文件?????296448??2009-05-18?22:01??視頻聊天軟件\Client\Client.opt
?????文件???????5928??2008-12-11?16:18??視頻聊天軟件\Client\Client.rc
?????文件??????16979??2008-12-12?00:48??視頻聊天軟件\Client\ClientDlg.cpp
?????文件???????1965??2008-12-11?00:03??視頻聊天軟件\Client\ClientDlg.h
?????文件???????1011??2008-12-09?16:59??視頻聊天軟件\Client\ClientSock.cpp
?????文件???????1267??2008-12-09?16:58??視頻聊天軟件\Client\ClientSock.h
?????文件???????3579??2008-12-09?16:25??視頻聊天軟件\Client\ReadMe.txt
?????文件???????5694??2008-12-11?16:18??視頻聊天軟件\Client\res\65.ico
?????文件???????1078??2008-12-09?16:25??視頻聊天軟件\Client\res\Client.ico
?????文件????????398??2008-12-09?16:25??視頻聊天軟件\Client\res\Client.rc2
?????文件???????1005??2008-12-11?16:18??視頻聊天軟件\Client\resource.h
?????文件????????208??2008-12-09?16:25??視頻聊天軟件\Client\StdAfx.cpp
?????文件???????1054??2008-12-09?16:25??視頻聊天軟件\Client\StdAfx.h
?????文件???????3579??2008-12-10?19:04??視頻聊天軟件\Server\ReadMe.txt
?????文件???????5694??2008-12-11?16:20??視頻聊天軟件\Server\res\97.ico
?????文件???????1078??2008-12-10?19:04??視頻聊天軟件\Server\res\Server.ico
?????文件????????398??2008-12-10?19:04??視頻聊天軟件\Server\res\Server.rc2
?????文件????????913??2008-12-11?16:20??視頻聊天軟件\Server\resource.h
?????文件???????1353??2009-05-18?22:02??視頻聊天軟件\Server\Server.clw
?????文件???????2141??2008-12-10?19:15??視頻聊天軟件\Server\Server.cpp
?????文件???????4355??2008-12-11?16:20??視頻聊天軟件\Server\Server.dsp
?????文件????????734??2009-01-13?19:40??視頻聊天軟件\Server\Server.dsw
?????文件???????1324??2008-12-10?19:04??視頻聊天軟件\Server\Server.h
?????文件?????301568??2009-05-18?22:20??視頻聊天軟件\Server\Server.opt
?????文件???????5669??2008-12-11?16:20??視頻聊天軟件\Server\Server.rc
............此處省略14個文件信息
- 上一篇:c語言頭文件大全
- 下一篇:WeTalk.zip
評論
共有 條評論