资源简介
vc6.0编写的变化检测的程序,简单易懂,适合初学者

代码片段和文件信息
// changedetection.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “changedetection.h“
#include “MainFrm.h“
#include “changedetectionDoc.h“
#include “changedetectionView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CChangedetectionApp
BEGIN_MESSAGE_MAP(CChangedetectionApp CWinApp)
//{{AFX_MSG_MAP(CChangedetectionApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CChangedetectionApp construction
CChangedetectionApp::CChangedetectionApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CChangedetectionApp object
CChangedetectionApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CChangedetectionApp initialization
BOOL CChangedetectionApp::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
// 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“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CChangedetectionDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CChangedetectionView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3147 2012-06-05 20:26 changedetection.clw
文件 4371 2012-06-04 12:02 changedetection.cpp
文件 4908 2012-06-04 16:33 changedetection.dsp
文件 536 2012-06-04 12:02 changedetection.dsw
文件 1455 2012-06-04 12:02 changedetection.h
文件 66560 2012-06-06 00:26 changedetection.ncb
文件 12722 2012-06-05 12:29 changedetection.rc
文件 25052 2012-06-06 00:25 changedetectionDoc.cpp
文件 1793 2012-06-05 18:02 changedetectionDoc.h
文件 6039 2012-06-05 12:29 changedetectionView.cpp
文件 2070 2012-06-05 12:22 changedetectionView.h
文件 2516 2012-06-04 12:02 MainFrm.cpp
文件 1581 2012-06-04 12:02 MainFrm.h
文件 4527 2012-06-04 12:02 ReadMe.txt
文件 972 2012-06-05 12:29 resource.h
文件 217 2012-06-04 12:02 StdAfx.cpp
文件 2624 2012-06-04 12:07 StdAfx.h
文件 3936 2009-02-19 21:33 DIB.lib
文件 106539 2009-02-19 21:33 DIB.dll
文件 1659 2012-06-06 00:25 changedetection.plg
文件 44932 2012-06-05 12:29 changedetection.aps
文件 1799 2012-06-04 12:26 InputDlg.cpp
文件 1221 2012-06-04 12:25 InputDlg.h
文件 49664 2012-06-06 00:26 changedetection.opt
文件 1078 2012-06-04 12:02 res\changedetection.ico
文件 407 2012-06-04 12:02 res\changedetection.rc2
文件 1078 2012-06-04 12:02 res\changedetectionDoc.ico
文件 1078 2012-06-04 12:02 res\Toolbar.bmp
目录 0 2012-06-04 12:02 res
----------- --------- ---------- ----- ----
............此处省略2个文件信息
- 上一篇:轴承数据库UG二次开发
- 下一篇:C++音视频即时通讯源代码
相关资源
- 数字电位器C语言程序
- 通信过程中的RS编译码程序(c语言)
- 简单的C语言点对点聊天程序
- 单片机c语言源程序(51定时器 八个按
- 将图片转换为C语言数组的程序
- 安科瑞智能电能表MODBUS通讯程序 VC6
- C语言实现的一个内存泄漏检测程序
- 用单片机控制蜂鸣器播放旋律程序(
- 电子时钟 有C语言程序,PROTEUS仿真图
- 基于C语言的密码锁程序
- c语言小学生自然数四则运算测试程序
- c语言程序设计报告 程序大全
- 文件传输和聊天程序(c语言实现)
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- 《Linux程序设计》第四版pdf高清电子版
- 使用wxWidgets进行跨平台程序开发
- 基于Arduino的MLX90614温度采集程序
- ADS1263驱动程序+电路图
- 程序案例 利用LabVIEW实现串口通讯
- 物联网GPS跟踪器demo程序
- STM32(神舟III号 串口1发送实验程序)
- STM32429的串口收发程序
- AD5328驱动程序
- PCA9539驱动程序
- ADS1256-STM32参考程序
- Arduino 敲琴MIDI电子琴 程序报告.docx
- 基于arduino的红绿灯程序,包附原理图
- stm32的半导体除湿机程序
- 单片机程序(附初级、中级、高级共
评论
共有 条评论