资源简介
基于MFC窗口界面,实现了IP数据包的捕获和解析

代码片段和文件信息
// myIpCapture.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “myIpCapture.h“
#include “myIpCaptureDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CmyIpCaptureApp
BEGIN_MESSAGE_MAP(CmyIpCaptureApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()
// CmyIpCaptureApp construction
CmyIpCaptureApp::CmyIpCaptureApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
// The one and only CmyIpCaptureApp object
CmyIpCaptureApp theApp;
// CmyIpCaptureApp initialization
BOOL CmyIpCaptureApp::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles. Otherwise any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
// 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
// Change the registry key under which our settings are stored
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
CmyIpCaptureDlg dlg;
m_pMainWnd = &dlg;
INT_PTR 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3911 2012-10-23 14:36 myIpCapture\ReadMe.txt
文件 43424 2012-11-17 16:49 myIpCapture\myIpCapture.aps
文件 2116 2012-10-23 14:36 myIpCapture\myIpCapture.cpp
文件 534 2012-10-23 14:36 myIpCapture\myIpCapture.h
文件 6015 2012-10-29 14:54 myIpCapture\myIpCapture.rc
文件 887 2012-10-23 14:36 myIpCapture\myIpCapture.sln
..A..H. 17408 2012-11-18 14:49 myIpCapture\myIpCapture.suo
文件 5540 2012-10-23 15:06 myIpCapture\myIpCapture.vcproj
文件 1405 2012-10-31 09:08 myIpCapture\myIpCapture.vcproj.DELL.dell.user
文件 8670 2012-10-31 09:02 myIpCapture\myIpCaptureDlg.cpp
文件 1953 2012-10-31 09:02 myIpCapture\myIpCaptureDlg.h
文件 821 2012-10-25 14:52 myIpCapture\resource.h
文件 211 2012-10-23 14:36 myIpCapture\stdafx.cpp
文件 1901 2012-10-23 14:36 myIpCapture\stdafx.h
文件 1432 2012-10-23 14:36 myIpCapture\targetver.h
文件 1427 2012-11-18 14:49 myIpCapture\myIpCapture.vcproj.QT-20120803MXAM.Administrator.user
文件 21630 2003-07-23 17:52 myIpCapture\res\myIpCapture.ico
文件 402 2012-10-23 14:36 myIpCapture\res\myIpCapture.rc2
文件 7298 2012-10-31 09:02 myIpCapture\Debug\BuildLog.htm
文件 69 2012-10-31 09:02 myIpCapture\Debug\mt.dep
文件 103936 2012-10-31 09:02 myIpCapture\Debug\myIpCapture.exe
文件 920 2012-10-23 15:36 myIpCapture\Debug\myIpCapture.exe.em
文件 984 2012-10-23 15:36 myIpCapture\Debug\myIpCapture.exe.em
文件 861 2012-10-31 09:02 myIpCapture\Debug\myIpCapture.exe.intermediate.manifest
文件 1252180 2012-10-31 09:02 myIpCapture\Debug\myIpCapture.ilk
文件 22201 2012-10-31 09:02 myIpCapture\Debug\myIpCapture.obj
文件 25296896 2012-10-23 15:06 myIpCapture\Debug\myIpCapture.pch
文件 3664896 2012-10-31 09:02 myIpCapture\Debug\myIpCapture.pdb
文件 23676 2012-10-29 14:54 myIpCapture\Debug\myIpCapture.res
文件 89086 2012-10-31 09:02 myIpCapture\Debug\myIpCaptureDlg.obj
............此处省略10个文件信息
- 上一篇:C++继承、派生 代码
- 下一篇:ruminations on C++
相关资源
- Quectel_EC200xEG912YEC600NEC600S系列_TCP(I
- TCP/IP客户端和服务器端源代码,好用
- modbus tcp/ip 简单通讯
- TCP/IP与串口调试
- hook,捕获所有案件,查找所有窗口,
- diy写字机grbl v1.1源代码
- 蓝桥杯题库包括vip历届真题
- XUnZip Zip解压缩.rar
- C++ Primer by Stanley B. Lippman Josée La
- TLV解析算法
- json-c 一个用于c语言的json解析库很强
- C语言解析教程第四版pdf及随书代码
- 微机接口----HQFC集成开发环境.zip
- 仿射密码-Affine cipher
- 基于51单片机射频RFID卡考勤上课上班
- 五子棋C++(Qt版).zip
- dsp课程设计——语音加密.zip
- AES-128-CBC算法C语言源码已经修改,可
- [BUPT]面向对象程序设计C++ - 平时作业
- Bmp图像处理.zip
- ACE技术内幕:深入解析ACE架构设计与
- 深入解析ATL(第2版).pdf
- C++实现的蓝牙应用程序框架-BlueSolei
- 扫雷辅助程序.zip
- NOIP2018普及组C++试题答案
- C++ Primer中文第五版.zip
- C++实现监控IP数据包
- C++ 通过FFmpeg将rtsp视频流到本地mp4文件
- C语言解析精粹源代码
- NOIP2006-2017普及组初赛c++版试题+答案
评论
共有 条评论