资源简介
gps和电子罗盘窗口串口通讯,数据接收和处理
代码片段和文件信息
// ck.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “ck.h“
#include “MainFrm.h“
#include “ckDoc.h“
#include “ckView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCkApp
BEGIN_MESSAGE_MAP(CCkApp CWinApp)
//{{AFX_MSG_MAP(CCkApp)
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()
/////////////////////////////////////////////////////////////////////////////
// CCkApp construction
CCkApp::CCkApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCkApp object
CCkApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCkApp initialization
BOOL CCkApp::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(CCkDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CCkView));
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 and only window has been initialized so show and update it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return TRUE;
}
/////////////////////////////////////////////////////////
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-04-05 11:32 gps and campass\
文件 50476 2012-03-25 22:56 gps and campass\ck.aps
文件 3999 2012-04-05 13:00 gps and campass\ck.clw
文件 4137 2012-03-20 23:56 gps and campass\ck.cpp
文件 5135 2012-03-22 23:00 gps and campass\ck.dsp
文件 556 2012-03-21 01:01 gps and campass\ck.dsw
文件 1312 2012-03-20 23:56 gps and campass\ck.h
文件 148480 2012-04-05 13:00 gps and campass\ck.ncb
文件 48640 2012-04-05 13:00 gps and campass\ck.opt
文件 238 2012-04-05 13:00 gps and campass\ck.plg
文件 16679 2012-03-25 22:56 gps and campass\ck.rc
文件 1662 2012-03-20 23:56 gps and campass\ckDoc.cpp
文件 1431 2012-03-20 23:56 gps and campass\ckDoc.h
文件 2469 2012-03-21 00:53 gps and campass\ckView.cpp
文件 1727 2012-03-21 10:41 gps and campass\ckView.h
目录 0 2012-04-05 11:32 gps and campass\Debug\
文件 5374976 2012-03-21 21:16 gps and campass\Debug\ck.bsc
文件 143437 2012-04-05 12:45 gps and campass\Debug\ck.exe
文件 370336 2012-04-05 12:45 gps and campass\Debug\ck.ilk
文件 23172 2012-03-21 21:02 gps and campass\Debug\ck.obj
文件 6947308 2012-03-21 21:02 gps and campass\Debug\ck.pch
文件 599040 2012-04-05 12:45 gps and campass\Debug\ck.pdb
文件 10856 2012-03-25 23:04 gps and campass\Debug\ck.res
文件 0 2012-03-21 21:02 gps and campass\Debug\ck.sbr
文件 14944 2012-03-21 21:02 gps and campass\Debug\ckDoc.obj
文件 0 2012-03-21 21:02 gps and campass\Debug\ckDoc.sbr
文件 24256 2012-03-25 23:04 gps and campass\Debug\ckView.obj
文件 0 2012-03-21 21:12 gps and campass\Debug\ckView.sbr
文件 48484 2012-04-05 12:45 gps and campass\Debug\dlg.obj
文件 0 2012-03-21 21:16 gps and campass\Debug\dlg.sbr
文件 20338 2012-03-21 21:02 gps and campass\Debug\MainFrm.obj
............此处省略24个文件信息
- 上一篇:HP EliteBook 2530P 维修手册
- 下一篇:数字逻辑复习题
评论
共有 条评论