资源简介
网络电话的C++源代码,有需要的自己下载学习!

代码片段和文件信息
// NetPhone.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “NetPhone.h“
#include “NetPhoneDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CNetPhoneApp
BEGIN_MESSAGE_MAP(CNetPhoneApp CWinApp)
//{{AFX_MSG_MAP(CNetPhoneApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CNetPhoneApp construction
CNetPhoneApp::CNetPhoneApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CNetPhoneApp object
CNetPhoneApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CNetPhoneApp initialization
BOOL CNetPhoneApp::InitInstance()
{
if (!AfxSocketInit())
{
AfxMessageBox(“Windows套接字初始化失败!“MB_ICONINFORMATION | MB_OKNULL);
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
CNetPhoneDlg dlg;
m_pMainWnd = &dlg;
SetDialogBkColor(0x00FFFFFF0x00FF0000);
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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 503768 2004-04-08 21:00 NetPhone\NetPhone.aps
文件 1451 2004-04-08 21:09 NetPhone\NetPhone.clw
文件 2265 2003-03-24 21:15 NetPhone\NetPhone.cpp
文件 5685 2003-03-24 21:15 NetPhone\NetPhone.dsp
文件 541 2003-03-24 21:15 NetPhone\NetPhone.dsw
文件 520315 2004-04-08 21:02 NetPhone\NetPhone.exe
文件 1346 2003-03-24 21:15 NetPhone\NetPhone.h
文件 246784 2004-04-08 21:09 NetPhone\NetPhone.ncb
文件 59904 2004-04-08 21:09 NetPhone\NetPhone.opt
文件 250 2004-04-08 21:03 NetPhone\NetPhone.plg
文件 6866 2003-03-24 21:15 NetPhone\NetPhone.rc
文件 21896 2003-03-24 21:15 NetPhone\NetPhoneDlg.cpp
文件 3445 2003-03-24 21:15 NetPhone\NetPhoneDlg.h
文件 10026 2003-03-24 21:15 NetPhone\PhoneIn.wav
文件 3615 2003-03-24 21:15 NetPhone\ReadMe.txt
文件 4856 2003-03-24 21:15 NetPhone\RES\CommnunicateU.BMP
文件 4856 2003-03-24 21:15 NetPhone\RES\CommnunicateX.BMP
文件 4856 2003-03-24 21:15 NetPhone\RES\ConnectU.bmp
文件 2678 2003-03-24 21:15 NetPhone\RES\ConnectX.BMP
文件 4856 2003-03-24 21:15 NetPhone\RES\DisconnectU.BMP
文件 4856 2003-03-24 21:15 NetPhone\RES\DisconnectX.BMP
文件 4856 2003-03-24 21:15 NetPhone\RES\ExitU.BMP
文件 2038 2003-03-24 21:15 NetPhone\RES\Help.ico
文件 4856 2003-03-24 21:15 NetPhone\RES\HelpU.BMP
文件 3540 2003-03-24 21:15 NetPhone\RES\ISERROR.LOG
文件 437984 2003-03-24 21:15 NetPhone\RES\Kitty.bmp
文件 4856 2003-03-24 21:15 NetPhone\RES\MiniU.BMP
文件 1078 2003-03-24 21:15 NetPhone\RES\NetPhone.ico
文件 400 2003-03-24 21:15 NetPhone\RES\NetPhone.rc2
..A.SH. 33792 2003-03-24 21:15 NetPhone\RES\Thumbs.db
............此处省略12个文件信息
- 上一篇:C++实现找出两个字符串中最大的公共子串
- 下一篇:C++字符串处理大集合
相关资源
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- 小甲鱼C语言课件 源代码
- VC++MFC小游戏实例教程(实例)+MFC类库
- c语言看发的网络协议 ,源代码
- C语言实现的DES对称加密算法
- 数据结构,迷宫问题C语言版源代码
- C语言 学生信息管理系统 源代码
- C语言版3D魔方游戏源代码
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- 白话C++(全)
- C++标准库第1、2
- 大数类c++大数类
- C++语言编写串口调试助手
- c++素数筛选法
- QT5开发及源代码
- C++ mqtt 用法
- 商品库存管理系统 C++ MFC
- c++ 多功能计算器
- C++17 In Detail
- 嵌入式QtC++编程课件
- USB CAN Tool 源代码(LabVIEW 2011环境)
评论
共有 条评论