========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : MyChatClient
========================================================================
AppWizard has created this MyChatClient application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your MyChatClient application.
MyChatClient.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
MyChatClient.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CMyChatClientApp application class.
MyChatClient.cpp
This is the main application source file that contains the application
class CMyChatClientApp.
MyChatClient.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
MyChatClient.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\MyChatClient.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file MyChatClient.rc.
res\MyChatClient.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in MyChatClient.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
MyChatClientDoc.h, MyChatClientDoc.cpp - the document
These files contain your CMyChatClientDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CMyChatClientDoc::Serialize).
MyChatClientView.h, MyChatClientView.cpp - the view of the document
These files contain your CMyChatClientView class.
CMyChatClientView objects are used to view CMyChatClientDoc objects.
/////////////////////////////////////////////////////////////////////////////
AppWizard has also created classes specific to OLE
CntrItem.h, CntrItem.cpp - this class is used to
manipulate OLE objects. OLE objects are usually displayed by your
CMyChatClientView class and serialized as part of your CMyChatClientDoc class.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named MyChatClient.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
此程序是我仿照《网络与数据库编程百例》一书, http://www.vckbase.com/document/viewdoc/?id=639(VC知识库文章)网站 以及其他参考资料所写的。 实现功能: 客户: 1.广播发送信息, 2.与某人私聊, 3.异步发送文件给某人 服务器: 1.自定义监听端口号, 2.支持多用户同时聊天, 3.显示所有在线用户信息, 4.接收并转发广播信息 此程序还有若干BUG,欢迎指正。
资源推荐
资源详情
资源评论
收起资源包目录
zj_聊天室.rar (69个子文件)
MyProduction
MyChatClient
SendView.cpp 7KB
StdAfx.cpp 214B
MyChatClient.cpp 4KB
resource.h 2KB
SetupDlg.cpp 1KB
MyChatClient.ncb 169KB
MyChatClientDoc.h 3KB
MainFrm.h 2KB
MyChatClientDoc.cpp 17KB
Msg.cpp 1KB
MyChatClient.plg 2KB
MyChatClientView.cpp 3KB
MyChatClient.dsp 5KB
MyChatClient.aps 33KB
ReadMe.txt 5KB
StdAfx.h 1KB
MainFrm.cpp 3KB
CntrItem.cpp 1KB
MyChatClient.h 1KB
SetupDlg.h 1KB
ChatSocket.cpp 1KB
res
MyChatClient.rc2 404B
MyChatClientDoc.ico 1KB
MyChatClient.ico 1KB
Toolbar.bmp 1KB
MyChatClient.opt 53KB
ChatSocket.h 1KB
MyChatClientView.h 2KB
MyChatClient.rc 17KB
CntrItem.h 2KB
MyChatClient.dsw 549B
MyChatClient.clw 5KB
SendView.h 2KB
Msg.h 914B
说明.txt 402B
MyChatServer
MyChatServer.dsw 549B
ChattersListView.cpp 4KB
StdAfx.cpp 214B
MyChatServer.clw 3KB
ListeningSocket.h 1KB
resource.h 876B
MyChatServer.cpp 4KB
MyChatServerDoc.h 2KB
MyChatServer.opt 55KB
MyChatServer.rc 12KB
ClientSocket.cpp 2KB
MainFrm.h 2KB
Msg.cpp 1KB
MyChatServerView.cpp 3KB
ClientSocket.h 2KB
ListeningSocket.cpp 1KB
MyChatServerView.h 2KB
MyChatServerDoc.cpp 12KB
ReadMe.txt 4KB
StdAfx.h 1KB
ChattersListView.h 2KB
MainFrm.cpp 3KB
MyChatServer.aps 29KB
PortDlg.cpp 933B
MyChatServer.dsp 5KB
MyChatServer.h 1KB
MyChatServer.plg 2KB
PortDlg.h 1KB
res
MyChatServer.rc2 404B
MyChatServer.ico 1KB
Toolbar.bmp 1KB
MyChatServerDoc.ico 1KB
MyChatServer.ncb 161KB
Msg.h 902B
共 69 条
- 1
资源评论
jier
- 粉丝: 32
- 资源: 20
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功