資源簡介
利用com口接收數據采集卡數據,實現實時數據保存

代碼片段和文件信息
//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//
#include?“stdafx.h“
#include?“Term.h“
#include?“MainFrm.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMainframe
IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?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
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction
CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here
}
CMainframe::~CMainframe()
{
}
BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics
#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}
void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}
#endif?//_DEBUG
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????15955??2009-08-22?12:54??chuankouTerm\Debug\MainFrm.obj
?????文件??????21889??2009-08-22?12:54??chuankouTerm\Debug\SetupDlg.obj
?????文件?????106038??2007-06-26?13:15??chuankouTerm\Debug\StdAfx.obj
?????文件?????135284??2009-08-22?12:54??chuankouTerm\Debug\Term.exe
?????文件?????359376??2009-08-22?12:54??chuankouTerm\Debug\Term.ilk
?????文件??????23294??2007-06-26?13:15??chuankouTerm\Debug\Term.obj
?????文件????5497160??2007-06-26?13:15??chuankouTerm\Debug\Term.pch
?????文件?????361472??2009-08-22?12:54??chuankouTerm\Debug\Term.pdb
?????文件???????6592??2007-06-26?13:15??chuankouTerm\Debug\Term.res
?????文件??????35334??2007-06-26?13:15??chuankouTerm\Debug\TermDoc.obj
?????文件??????25768??2007-06-26?13:15??chuankouTerm\Debug\TermView.obj
?????文件?????222208??2009-08-22?13:00??chuankouTerm\Debug\vc60.idb
?????文件?????364544??2009-08-22?12:54??chuankouTerm\Debug\vc60.pdb
?????文件???????1495??2007-06-26?13:15??chuankouTerm\MainFrm.cpp
?????文件???????1421??2007-06-26?13:15??chuankouTerm\MainFrm.h
?????文件???????3950??2007-06-26?13:15??chuankouTerm\ReadMe.txt
?????文件???????1078??2007-06-26?13:15??chuankouTerm\RES\Term.ico
?????文件????????396??2007-06-26?13:15??chuankouTerm\RES\Term.rc2
?????文件???????1078??2007-06-26?13:15??chuankouTerm\RES\TermDoc.ico
?????文件???????1237??2007-06-26?13:15??chuankouTerm\RESOURCE.H
?????文件???????2757??2007-06-26?13:15??chuankouTerm\SetupDlg.cpp
?????文件???????1591??2007-06-26?13:15??chuankouTerm\SetupDlg.h
?????文件????????206??2007-06-26?13:15??chuankouTerm\StdAfx.cpp
?????文件???????1054??2007-06-26?13:15??chuankouTerm\StdAfx.h
?????文件??????28792??2009-08-22?12:54??chuankouTerm\Term.aps
?????文件???????3081??2009-08-22?12:55??chuankouTerm\Term.clw
?????文件???????4173??2007-06-26?13:15??chuankouTerm\Term.cpp
?????文件???????4570??2007-06-26?13:15??chuankouTerm\Term.dsp
?????文件????????533??2007-06-26?13:15??chuankouTerm\Term.dsw
?????文件???????1334??2007-06-26?13:15??chuankouTerm\Term.h
............此處省略14個文件信息
評論
共有 條評論