自己做的串口调试工具、包含源代码
自己做的串口调试工具、包含源代码,能运行,希望大家一起学习交流下
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 38348 2018-04-21 10:54 ChaCha.aps
文件 2461 2018-04-21 10:57 ChaCha.clw
文件 2107 2018-04-19 15:47 ChaCha.cpp
文件 4525 2018-04-20 21:56 ChaCha.dsp
文件 556 2018-04-20 11:09 ChaCha.dsw
文件 1291 2018-04-19 15:31 ChaCha.h
文件 66560 2018-04-21 10:59 ChaCha.ncb
文件 50688 2018-04-21 10:59 ChaCha.opt
文件 240 2018-04-21 10:56 ChaCha.plg
文件 9948 2018-04-21 10:54 ChaCha.rc
文件 12873 2018-04-21 10:54 ChaChaDlg.cpp
文件 2231 2018-04-20 20:54 ChaChaDlg.h
文件 3720192 2018-04-21 10:54 ChaDebugCha.bsc
文件 122936 2018-04-21 10:54 ChaDebugCha.exe
文件 273804 2018-04-21 10:54 ChaDebugCha.ilk
文件 15730 2018-04-20 21:53 ChaDebugCha.obj
文件 7012732 2018-04-20 21:53 ChaDebugCha.pch
文件 443392 2018-04-21 10:54 ChaDebugCha.pdb
文件 4232 2018-04-21 10:54 ChaDebugCha.res
文件 0 2018-04-20 21:53 ChaDebugCha.sbr
文件 57808 2018-04-21 10:54 ChaDebugChaDlg.obj
文件 0 2018-04-21 10:54 ChaDebugChaDlg.sbr
文件 47379 2018-04-20 21:53 ChaDebugmscomm.obj
文件 0 2018-04-20 21:53 ChaDebugmscomm.sbr
文件 106363 2018-04-20 21:53 ChaDebugStdAfx.obj
文件 1382965 2018-04-20 21:53 ChaDebugStdAfx.sbr
文件 214016 2018-04-21 10:56 ChaDebugvc60.idb
文件 380928 2018-04-21 10:54 ChaDebugvc60.pdb
文件 8569 2018-04-20 09:38 Chamscomm.cpp
文件 3221 2018-04-20 09:38 Chamscomm.h
............此处省略12个文件信息
// Cha.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Cha.h“
#include “ChaDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CChaApp
BEGIN_MESSAGE_MAP(CChaApp CWinApp)
//{{AFX_MSG_MAP(CChaApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CChaApp construction
CChaApp::CChaApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CChaApp object
CChaApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CChaApp initialization
BOOL CChaApp::InitInstance()
{
if(!AfxSocketInit())
{
AfxMessageBox(“加载套接字失败!“);
return FALSE;
}
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
CChaDlg dlg;
m_pMainWnd = &dlg;
int 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
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 38348 2018-04-21 10:54 ChaCha.aps
文件 2461 2018-04-21 10:57 ChaCha.clw
文件 2107 2018-04-19 15:47 ChaCha.cpp
文件 4525 2018-04-20 21:56 ChaCha.dsp
文件 556 2018-04-20 11:09 ChaCha.dsw
文件 1291 2018-04-19 15:31 ChaCha.h
文件 66560 2018-04-21 10:59 ChaCha.ncb
文件 50688 2018-04-21 10:59 ChaCha.opt
文件 240 2018-04-21 10:56 ChaCha.plg
文件 9948 2018-04-21 10:54 ChaCha.rc
文件 12873 2018-04-21 10:54 ChaChaDlg.cpp
文件 2231 2018-04-20 20:54 ChaChaDlg.h
文件 3720192 2018-04-21 10:54 ChaDebugCha.bsc
文件 122936 2018-04-21 10:54 ChaDebugCha.exe
文件 273804 2018-04-21 10:54 ChaDebugCha.ilk
文件 15730 2018-04-20 21:53 ChaDebugCha.obj
文件 7012732 2018-04-20 21:53 ChaDebugCha.pch
文件 443392 2018-04-21 10:54 ChaDebugCha.pdb
文件 4232 2018-04-21 10:54 ChaDebugCha.res
文件 0 2018-04-20 21:53 ChaDebugCha.sbr
文件 57808 2018-04-21 10:54 ChaDebugChaDlg.obj
文件 0 2018-04-21 10:54 ChaDebugChaDlg.sbr
文件 47379 2018-04-20 21:53 ChaDebugmscomm.obj
文件 0 2018-04-20 21:53 ChaDebugmscomm.sbr
文件 106363 2018-04-20 21:53 ChaDebugStdAfx.obj
文件 1382965 2018-04-20 21:53 ChaDebugStdAfx.sbr
文件 214016 2018-04-21 10:56 ChaDebugvc60.idb
文件 380928 2018-04-21 10:54 ChaDebugvc60.pdb
文件 8569 2018-04-20 09:38 Chamscomm.cpp
文件 3221 2018-04-20 09:38 Chamscomm.h
............此处省略12个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)