================================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : AppSocServer Project Overview
===============================================================================
The application wizard has created this AppSocServer 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 AppSocServer application.
AppSocServer.vcxproj
This is the main project file for VC++ projects generated using an application wizard.
It contains information about the version of Visual C++ that generated the file, and
information about the platforms, configurations, and project features selected with the
application wizard.
AppSocServer.vcxproj.filters
This is the filters file for VC++ projects generated using an Application Wizard.
It contains information about the association between the files in your project
and the filters. This association is used in the IDE to show grouping of files with
similar extensions under a specific node (for e.g. ".cpp" files are associated with the
"Source Files" filter).
AppSocServer.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CAppSocServerApp application class.
AppSocServer.cpp
This is the main application source file that contains the application
class CAppSocServerApp.
AppSocServer.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++. Your project resources are in 1033.
res\AppSocServer.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file AppSocServer.rc.
res\AppSocServer.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.
/////////////////////////////////////////////////////////////////////////////
The application wizard creates one dialog class:
AppSocServerDlg.h, AppSocServerDlg.cpp - the dialog
These files contain your CAppSocServerDlg class. This class defines
the behavior of your application's main dialog. The dialog's template is
in AppSocServer.rc, which can be edited in Microsoft Visual C++.
/////////////////////////////////////////////////////////////////////////////
Other Features:
ActiveX Controls
The application includes support to use ActiveX controls.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named AppSocServer.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.
AppSocServer.manifest
Application manifest files are used by Windows XP to describe an applications
dependency on specific versions of Side-by-Side assemblies. The loader uses this
information to load the appropriate assembly from the assembly cache or private
from the application. The Application manifest maybe included for redistribution
as an external .manifest file that is installed in the same folder as the application
executable or it may be included in the executable in the form of a resource.
/////////////////////////////////////////////////////////////////////////////
Other notes:
The application wizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, you will need
to redistribute the MFC DLLs. If your application is in a language
other than the operating system's locale, you will also have to
redistribute the corresponding localized resources MFC100XXX.DLL.
For more information on both of these topics, please see the section on
redistributing Visual C++ applications in MSDN documentation.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
MFC socket通信,socket通讯 MFC socket通信,socket通讯 我是使用VS2012来做的,不知道其他的环境会不会有问题。 使用VS2012分别打开工程AppSocClient和AppSocServer, 分别build两个工程,启动AppSocServer工程,输入appid和message,点击发送,即可。 如果出现create process failed,则可能是函数StartApp()里面的../../AppSocClient/Debug/AppSocClient.exe此路径没有指到对应的AppSocClient.exe。 AppSocClient.exe是服务端启动的,不用手动启动,如果有其他需求,可以自行修改。 输入不同的appid则启动不同的AppSocClient.exe,启动后会收到AppSocServer.exe发送的消息,AppSocServer.exe则会收到客户端发送的Got it!。 只能发送一次。
资源推荐
资源详情
资源评论
收起资源包目录
MFC_socket通信实例.zip (41个子文件)
MFC_socket通信实例
使用说明.txt 558B
AppSocServer
AppSocServer.suo 35KB
AppSocServer
AppSocServer.vcxproj 6KB
AppSocServer.cpp 2KB
resource.h 2KB
AppSocServer.vcxproj.filters 2KB
stdafx.h 2KB
AppSocServer.h 541B
targetver.h 314B
AppSocServer.vcxproj.user 143B
stdafx.cpp 214B
ReadMe.txt 4KB
AppSocServerDlg.h 1KB
AppSocServer.aps 104KB
res
AppSocServer.ico 66KB
AppSocServer.rc2 808B
BaseString.h 536B
AppSocServerDlg.cpp 12KB
BaseString.cpp 3KB
AppSocServer.rc 11KB
AppSocServer.sln 903B
AppSocServer.v11.suo 68KB
AppSocClient
AppSocClient.sln 903B
AppSocClient.suo 15KB
AppSocClient
AppSocClient.h 541B
AppSocClient.aps 104KB
AppSocClientDlg.cpp 5KB
AppSocClient.cpp 2KB
resource.h 2KB
AppSocClient.vcxproj 6KB
stdafx.h 2KB
targetver.h 314B
AppSocClient.rc 11KB
AppSocClient.vcxproj.filters 2KB
stdafx.cpp 214B
ReadMe.txt 4KB
AppSocClientDlg.h 792B
AppSocClient.vcxproj.user 143B
res
AppSocClient.ico 66KB
AppSocClient.rc2 808B
AppSocClient.v11.suo 30KB
共 41 条
- 1
资源评论
GreenArrowMan
- 粉丝: 1w+
- 资源: 46
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功