资源简介
Visual C++ 网络高级编程 作者:陈坚、陈伟等 人民邮电出版社 2001.8 第1版
代码片段和文件信息
// SimpleClient.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “SimpleClient.h“
#include “SimpleClientDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSimpleClientApp
BEGIN_MESSAGE_MAP(CSimpleClientApp CWinApp)
//{{AFX_MSG_MAP(CSimpleClientApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CSimpleClientApp construction
CSimpleClientApp::CSimpleClientApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CSimpleClientApp object
CSimpleClientApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CSimpleClientApp initialization
BOOL CSimpleClientApp::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
CSimpleClientDlg 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;
}
相关资源
- VC++6.0技术内幕第五版中文版+英文版
- win 10解决系统缺失vc++库
- vc++课程设计 让计算机来猜测用户“暗
- Visual C++数据采集与串口通信测控应用
- VC++24点游戏完整程序源码
- VC++外挂框架.rar
- VC++技术内幕第五版中文pdf
- VisualC++网络高级编程.(人民邮电.陈坚
- 基于VC++利用MFC做的图书管理系统
- c++版学生成绩管理系统实验报告及源
- VC++阳历(公历)到阴历(农历)转换
- c++编写病毒方法+100个病毒源码
- Visual C++数字图像实用工程案例精选源
- VC++用MFC做选课系统
- 泡泡堂(炸弹人)小游戏C/C++完整源码
- 张平OpenCV算法精讲基于python和C++教材
- FastReport V6.4.13 VCL Enterprise(安装包源
- MFC VC++实现Sierpinski分形图像
- 功能强大的多条曲线绘制类 (MFC,
- vc++ opengl代码爆炸
- C++ 命令行小游戏 节奏大师别踩白块
- RAR密码暴力破解(含源码 C语言实现)
- 酒店客房预定系统vc++)
- 打地鼠 源码
- C++信号放大器+报告+源码+运行程序
- vc++变成经典小游戏源码
- Visual C++网络与数据库编程百例源代码
- 车牌识别系统VC++开发
- libcurl-7.19.3-win32-ssl-msvc.zip
- 模式识别 印章识别 印鉴识别 源码
评论
共有 条评论