资源简介
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的TCP调试助手源码95706
- 基于mfc的多线程文件传输
- VC++ 多线程文件读写操作
- 移木块游戏,可以自编自玩,vc6.0编写
- MFC数字钟(基于VC6.0)
- 安科瑞智能电能表MODBUS通讯程序 VC6
- VC++MFC小游戏实例教程(实例)+MFC类库
- VC6LineNumberAddin.dll
- 用VC6.0实现多边形扫描线填充算法
- VC++实现CMD命令执行与获得返回信息
- VC助手 VC6.0助手
- ChartCtrl控件库(可在VS2019中使用)
- 商品库存管理系统 C++ MFC
- mfc 调用redis
- MFC视频播放器源码(支持avi/wma/mp3等格
- VC++基于OpenGL模拟的一个3维空间模型
- mfc绘图大全(画直线、矩形、椭圆)
- MFC控件重绘
- hook,捕获所有案件,查找所有窗口,
- (学习)VS2010之MFC入门到精通教程
- 基于VC++的SolidWorks二次开发SolidWorks
- VC6 USB开发源码
- MFC文档_视图_框架_模板结构体系深入
- 简单员工管理系统(适合初学MFC)
- VC操作SQLSERVER数据库
- aes加解密(vc源程序)
- vc_串口通讯
- 吕鑫vc6c++数据结构视频源码
- 派克变换VC++源码(附文档)
- 基于opencv漫水填充算法综合
评论
共有 条评论