資源簡(jiǎn)介
能將串口接收到的數(shù)據(jù)實(shí)時(shí)轉(zhuǎn)化為波形圖,不過(guò)有點(diǎn)小bug,數(shù)據(jù)量太大會(huì)出問(wèn)題,希望有誰(shuí)能解決告知我
代碼片段和文件信息
//?Com.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Com.h“
#include?“ComDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CComApp
BEGIN_MESSAGE_MAP(CComApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CComApp?construction
CComApp::CComApp()
{
//?support?Restart?Manager
m_dwRestartManagerSupportFlags?=?AFX_RESTART_MANAGER_SUPPORT_RESTART;
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
//?The?one?and?only?CComApp?object
CComApp?theApp;
//?CComApp?initialization
BOOL?CComApp::InitInstance()
{
//?InitCommonControlsEx()?is?required?on?Windows?XP?if?an?application
//?manifest?specifies?use?of?ComCtl32.dll?version?6?or?later?to?enable
//?visual?styles.??Otherwise?any?window?creation?will?fail.
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?Set?this?to?include?all?the?common?control?classes?you?want?to?use
//?in?your?application.
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
//?Create?the?shell?manager?in?case?the?dialog?contains
//?any?shell?tree?view?or?shell?list?view?controls.
CShellManager?*pShellManager?=?new?CShellManager;
//?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
//?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“));
CComDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?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
}
//?Delete?the?shell?manager?created?above.
if?(pShellManager?!=?NULL)
{
delete?pShellManager;
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????目錄???????????0??2015-06-02?11:18??Com\
?????目錄???????????0??2015-03-23?16:06??Com\Com\
?????文件????????3702??2015-01-14?11:28??Com\Com\CAxes.h
?????文件???????15255??2015-01-14?11:28??Com\Com\CAxis.h
?????文件???????????0??2015-03-23?16:06??Com\Com\CBMPExport.h
?????文件????????1093??2015-01-14?11:28??Com\Com\CScroll.h
?????文件???????27925??2015-01-14?11:28??Com\Com\CSeries.h
?????文件???????15331??2015-01-14?11:28??Com\Com\CTChart.h
?????文件??????107056??2015-02-20?17:31??Com\Com\Com.aps
?????文件????????2430??2015-01-13?21:15??Com\Com\Com.cpp
?????文件?????????487??2015-01-13?21:15??Com\Com\Com.h
?????文件???????17736??2015-02-20?17:31??Com\Com\Com.rc
?????文件????????6359??2015-01-14?11:28??Com\Com\Com.vcxproj
?????文件????????2761??2015-01-14?11:28??Com\Com\Com.vcxproj.filters
?????文件?????????143??2015-01-13?21:15??Com\Com\Com.vcxproj.user
?????文件???????10803??2015-05-04?15:36??Com\Com\ComDlg.cpp
?????文件????????1246??2015-01-20?15:24??Com\Com\ComDlg.h
?????目錄???????????0??2015-05-04?15:36??Com\Com\Debug\
?????文件???????50224??2015-05-04?15:36??Com\Com\Debug\CL.read.1.tlog
?????文件????????2338??2015-05-04?15:36??Com\Com\Debug\CL.write.1.tlog
?????文件?????????915??2015-01-14?11:29??Com\Com\Debug\Com.exe.em
?????文件?????????980??2015-01-14?11:29??Com\Com\Debug\Com.exe.em
?????文件?????????640??2015-05-04?15:36??Com\Com\Debug\Com.exe.intermediate.manifest
?????文件??????????61??2015-05-04?15:36??Com\Com\Debug\Com.lastbuildstate
?????文件????????2609??2015-05-04?15:36??Com\Com\Debug\Com.log
?????文件???????38940??2015-02-20?17:17??Com\Com\Debug\Com.obj
?????文件????36241408??2015-05-04?15:36??Com\Com\Debug\Com.pch
?????文件???????70796??2015-05-04?15:36??Com\Com\Debug\Com.res
?????文件?????????713??2015-02-20?17:17??Com\Com\Debug\Com.vcxprojResolveAssemblyReference.cache
?????文件???????????0??2015-02-20?17:17??Com\Com\Debug\Com.write.1.tlog
?????文件??????131372??2015-05-04?15:36??Com\Com\Debug\ComDlg.obj
............此處省略71個(gè)文件信息
- 上一篇:unity 中文官方api使用手冊(cè)
- 下一篇:ssh框架完整
評(píng)論
共有 條評(píng)論