资源简介
有朋友下了我写的文件校验器,说没有源码,现在就放出源码,希望对大家有用。这个校验器没有处理对于程序代码超过64K的单片机程序。

代码片段和文件信息
// CheckSum.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “CheckSum.h“
#include “CheckSumDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCheckSumApp
BEGIN_MESSAGE_MAP(CCheckSumApp CWinApp)
//{{AFX_MSG_MAP(CCheckSumApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCheckSumApp construction
CCheckSumApp::CCheckSumApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCheckSumApp object
CCheckSumApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCheckSumApp initialization
BOOL CCheckSumApp::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
CCheckSumDlg dlg;
m_pMainWnd = &dlg;
int nResponse = (int)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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7024 2008-06-11 09:14 Debug\BuildLog.htm
文件 2097215 2009-02-27 14:36 Debug\CheckSum.exe
文件 146 2007-11-07 14:52 Debug\CheckSum.exe.em
文件 212 2007-11-07 14:52 Debug\CheckSum.exe.em
文件 145 2008-06-11 09:14 Debug\CheckSum.exe.intermediate.manifest
文件 14761 2009-02-27 14:36 Debug\CheckSum.obj
文件 3507200 2009-02-27 14:36 Debug\CheckSum.pdb
文件 28424 2009-02-27 14:36 Debug\CheckSum.res
文件 55134 2009-02-27 14:36 Debug\CheckSumDlg.obj
文件 67 2007-12-13 08:12 Debug\mt.dep
文件 105522 2009-02-27 14:36 Debug\StdAfx.obj
文件 364544 2009-02-27 14:36 Debug\vc60.pdb
文件 7336 2007-12-13 08:23 Release\BuildLog.htm
文件 217088 2009-02-27 14:36 Release\CheckSum.exe
文件 145 2007-12-13 08:23 Release\CheckSum.exe.intermediate.manifest
文件 9840 2009-02-27 14:36 Release\CheckSum.obj
文件 93911 2008-07-10 11:42 Release\CheckSum.rar
文件 28424 2009-02-27 14:36 Release\CheckSum.res
文件 32343 2009-02-27 14:36 Release\CheckSumDlg.obj
文件 67 2007-12-13 08:23 Release\mt.dep
文件 720 2009-02-27 14:36 Release\StdAfx.obj
文件 766 2007-09-14 15:21 res\A.ico
文件 766 2007-09-14 15:22 res\B.ico
文件 2102 2007-09-13 10:43 res\bitmap1.bmp
文件 2794 2007-09-13 10:43 res\bitmap2.bmp
文件 2926 2007-09-13 16:54 res\bitmap3.bmp
文件 766 2007-09-14 15:27 res\C.ico
文件 1078 2007-09-13 10:41 res\CheckSum.ico
文件 400 2007-09-13 10:41 res\CheckSum.rc2
文件 21238 2007-09-13 16:54 res\chksum.bmp
............此处省略48个文件信息
- 上一篇:俄罗斯方块(VFP 开发的)
- 下一篇:信息系统项目管理师第三版Word版本
相关资源
- bp神经网络源代码,可直接运行
- 仿知乎界面小程序源代码
- 贪吃蛇源代码.fla
- dotnet 写字板 实验 源代码 不好请要不
- 图像二维小波变换的实现源代码
- 八三编码器设计 VHDL代码 简单,包附
- linux应用层的华容道游戏源代码
- 网上拍卖系统完整源代码
- CSMA/CD等动画演示加源代码
- silicon lab公司的收音IC SI47XX全套开发工
- 合同管理系统的源代码(附数据库)
- 用VC 编写的仿QQ聊天室程序源代码
- STM32F103 串口程序(完整版)
- VPC3_DPV1源代码,Profibus
- PB做的托盘程序(最小化后在左下角显
- 透明加密源码及说明
- 排队机叫号 源代码
- 五子棋C 源代码
- CAD LISP24个源代码
- 二叉树基本操作源代码
- 推箱子及人工智能寻路C 源代码
- opengl轮廓字体源代码
- 冈萨雷斯 数字图像处理 源代码(m文
- 直流伺服电机电路原理图(内附单片
- 哈哈冒险岛登入器源代码
- midi电子琴简单设计(附源代码).ra
- PESQ C源代码
- 画图程序MFC/VC/VC CRectTracker 串行化
- 莱卡 全站仪数据格式转换程序,有源
- HEX到Bin文件源代码
评论
共有 条评论