资源简介
用MFC编写的数据包校验与常用校验算法(数据处理方法与串口通信用户层协议的编制)。编写的代码部分都有中文注释,对刚开始接触MFC的学习者来说是很好的资源!

代码片段和文件信息
// CRCProgram.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “CRCProgram.h“
#include “CRCProgramDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCRCProgramApp
BEGIN_MESSAGE_MAP(CCRCProgramApp CWinApp)
//{{AFX_MSG_MAP(CCRCProgramApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCRCProgramApp construction
CCRCProgramApp::CCRCProgramApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCRCProgramApp object
CCRCProgramApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCRCProgramApp initialization
BOOL CCRCProgramApp::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
CCRCProgramDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1078 2007-06-26 13:15 res\CRCProgram.ico
文件 402 2007-06-26 13:15 res\CRCProgram.rc2
文件 21216 2009-01-02 16:17 CRCProgram.aps
文件 1402 2009-01-02 16:17 CRCProgram.clw
文件 2119 2007-06-26 13:15 CRCProgram.cpp
文件 4231 2007-06-26 13:15 CRCProgram.dsp
文件 545 2007-06-26 13:15 CRCProgram.dsw
文件 1368 2007-06-26 13:15 CRCProgram.h
文件 58368 2009-01-02 16:17 CRCProgram.ncb
文件 48640 2009-01-02 16:17 CRCProgram.opt
文件 1645 2009-01-02 16:17 CRCProgram.plg
文件 5683 2007-06-26 13:15 CRCProgram.rc
文件 6900 2007-06-26 13:15 CRCProgramDlg.cpp
文件 1607 2007-06-26 13:15 CRCProgramDlg.h
文件 3651 2007-06-26 13:15 ReadMe.txt
文件 826 2007-06-26 13:15 resource.h
文件 212 2007-06-26 13:15 StdAfx.cpp
文件 1054 2007-06-26 13:15 StdAfx.h
目录 0 2009-01-02 16:18 res
----------- --------- ---------- ----- ----
161165 20
- 上一篇:mfc + d3d实现的视频播放器
- 下一篇:汽车修理厂管理系统(C++开发)
相关资源
- Qt5串口通信-windows
- 串口数据采集及显示
- Visual_C++_数据采集与串口通信测控应用
- 串口通信数据库:基于RFID的电子票证
- Visual C++数据采集与串口通信测控应用
- Visual C++串口通信技术详解.(机械工业
- VC6.0经典串口通信源程序C++
- VC++ MFC 串口通信20个经典源码合集
- 一个MFC做的串口通信的好,是我单位
- UART串口通信论文参考
- Visual C++串口通信及测控应用详解--源
- VS2010 C++ 串口通信软件包含mscomm控件和
- stm32F103zet6开串口通信2 C语言
- 龚建伟MFC串口通信
- C++ 写的串口通信 DLL文件
- VC++串口通信编码
- C++Builder 串口通信调试
- VC++串口通信20个经典源码
- VS2010之MFC串口通信的编写教程
- 一个牛人写的串口通信mfc源代码
- VC++ 串口通信modbus协议源代码
- VC++串口通信源代码VC6.0
- 基于vc++6.0的rs232串口通信课程设计
- Qt5.11.1+VS2017 X64 C++动态编译 串口通讯
- VC++编写上位机串口通信界面
- MFC串口通信源码
- vc6.0编写的基于API的串口通信程序
- MFC实现RS232串口通信程序和辅助程序
- Visual C++串口通信技术详解.配套源码
- VS2010+MFC 使用WinAPI实现串口通信
评论
共有 条评论