资源简介
MFC socket编程实例 MyQQMFC socket编程实例MyQQMFC socket编程实例MyQQ
代码片段和文件信息
// MyQQ.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “MyQQ.h“
#include “MyQQDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMyQQApp
BEGIN_MESSAGE_MAP(CMyQQApp CWinApp)
//{{AFX_MSG_MAP(CMyQQApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CMyQQApp construction
CMyQQApp::CMyQQApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMyQQApp object
CMyQQApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CMyQQApp initialization
BOOL CMyQQApp::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
CMyQQDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 21548 2010-11-06 16:25 核心实例 MyQQ\MyQQ.aps
......R 2129 2010-10-26 19:35 核心实例 MyQQ\MyQQ.cpp
......R 4124 2010-10-26 19:35 核心实例 MyQQ\MyQQ.dsp
......R 533 2010-10-26 19:35 核心实例 MyQQ\MyQQ.dsw
......R 1302 2010-10-26 19:34 核心实例 MyQQ\MyQQ.h
文件 41984 2010-11-06 16:25 核心实例 MyQQ\MyQQ.ncb
文件 48640 2010-11-06 16:25 核心实例 MyQQ\MyQQ.opt
文件 242 2010-11-23 15:53 核心实例 MyQQ\MyQQ.plg
......R 5854 2010-10-26 19:35 核心实例 MyQQ\MyQQ.rc
......R 7961 2010-10-26 19:35 核心实例 MyQQ\MyQQDlg.cpp
......R 1574 2010-10-26 19:34 核心实例 MyQQ\MyQQDlg.h
......R 3543 2010-10-26 19:35 核心实例 MyQQ\ReadMe.txt
......R 1078 2010-10-26 19:34 核心实例 MyQQ\res\MyQQ.ico
......R 396 2010-10-26 19:35 核心实例 MyQQ\res\MyQQ.rc2
......R 1003 2055-04-08 11:00 核心实例 MyQQ\resource.h
......R 206 2055-04-08 11:00 核心实例 MyQQ\StdAfx.cpp
......R 1102 2055-04-08 11:00 核心实例 MyQQ\StdAfx.h
目录 0 2010-11-24 20:21 核心实例 MyQQ\Debug
...D..R 0 2055-04-08 11:00 核心实例 MyQQ\res
...D..R 0 2010-11-06 16:25 核心实例 MyQQ
----------- --------- ---------- ----- ----
143219 20
相关资源
- 基于MFC实现的FTP断点续传客户端
- MFC日志类
- 学生成绩管理系统 C、VC++
- 利用ICMP数据包探测网络中的活动主机
- MFC单文档画图(直线矩形有注释)
- 简单的MFC串口通讯 源代码
- MFC学生简单信息管理程序设计文档
- 语音识别MFCC特征提取matlab代码
- MFC单文档心电图模拟程序vc6.0
- VS2010使用MFC编写闹钟和定时关机程序
- 完全用API构成的串口串试助手VC6源码
- 使用败者树实现外排序vc++
- MFC 贪吃蛇
- SDNU 面向对象程序设计及C++ MFC 期中作
- LIBCID.LIB
- 远程文件--select模式
- MFC日志写入与读取
- Windows MFC排序演示过程
- c++/MFC CSocket仿QQ聊天软件,实现1对1聊
- C++PCM音频格式录音双缓存MFC版本
- 步态识别C++实现
- mfc 实现图片的移动 火箭移动效果
- MFC中如何使用子控件向父控件发送自
- VC++编写的音频播放器代码
- MFC基于TCP/IP协议的聊天室源代码 (继
- 服务端Node.js和VC++程序间通过SOCKET通信
- mfc高通滤波器
- VC6 编写的类似CPU使用曲线的类,自动
- VC++School管理系统(学生、教师、在职
- MFC对EXCEL的操作:修改单元格格式,背
评论
共有 条评论