• 大小: 1.23MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-27
  • 语言: 其他
  • 标签: Visual  C  

资源简介

Visual C TurboC串口通信编程实践(第2版)随书光盘

资源截图

代码片段和文件信息

// SCommTest.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “SCommTest.h“
#include “SCommTestDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSCommTestApp

BEGIN_MESSAGE_MAP(CSCommTestApp CWinApp)
//{{AFX_MSG_MAP(CSCommTestApp)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CSCommTestApp construction

CSCommTestApp::CSCommTestApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CSCommTestApp object

CSCommTestApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CSCommTestApp initialization

BOOL CSCommTestApp::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

CSCommTestDlg 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;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2222  2002-08-27 21:39  串口通信编程实践\串口调试助手\help.htm

     文件     266240  2002-08-27 22:32  串口通信编程实践\串口调试助手\串口调试助手V2.2.exe

     文件       8569  2001-06-25 23:32  串口通信编程实践\第01章\0102\scommtest\MSCOMM.CPP

     文件       3221  2001-06-25 23:32  串口通信编程实践\第01章\0102\scommtest\MSCOMM.H

     文件       3633  2001-06-25 23:31  串口通信编程实践\第01章\0102\scommtest\ReadMe.txt

     文件       1078  2001-06-25 23:31  串口通信编程实践\第01章\0102\scommtest\RES\SCommTest.ico

     文件        401  2001-06-25 23:31  串口通信编程实践\第01章\0102\scommtest\RES\SCommTest.rc2

     文件        825  2001-06-26 15:03  串口通信编程实践\第01章\0102\scommtest\RESOURCE.H

     文件      36452  2004-02-04 23:12  串口通信编程实践\第01章\0102\scommtest\SCommTest.aps

     文件       1346  2004-07-30 13:56  串口通信编程实践\第01章\0102\scommtest\SCommTest.clw

     文件       2105  2001-06-25 23:31  串口通信编程实践\第01章\0102\scommtest\SCommTest.cpp

     文件       4644  2001-06-25 23:35  串口通信编程实践\第01章\0102\scommtest\SCommTest.dsp

     文件        585  2001-06-25 23:35  串口通信编程实践\第01章\0102\scommtest\SCommTest.dsw

     文件       1357  2001-06-25 23:31  串口通信编程实践\第01章\0102\scommtest\SCommTest.h

     文件      82944  2004-07-30 13:56  串口通信编程实践\第01章\0102\scommtest\SCommTest.ncb

     文件      49664  2004-07-30 13:56  串口通信编程实践\第01章\0102\scommtest\SCommTest.opt

     文件       1681  2004-07-30 13:23  串口通信编程实践\第01章\0102\scommtest\SCommTest.plg

     文件       6180  2004-02-04 23:12  串口通信编程实践\第01章\0102\scommtest\SCommTest.rc

     文件       7069  2004-02-10 09:06  串口通信编程实践\第01章\0102\scommtest\SCommTestDlg.cpp

     文件       1543  2004-02-04 23:59  串口通信编程实践\第01章\0102\scommtest\SCommTestDlg.h

     文件        211  2001-06-25 23:31  串口通信编程实践\第01章\0102\scommtest\StdAfx.cpp

     文件       1054  2001-06-25 23:31  串口通信编程实践\第01章\0102\scommtest\StdAfx.h

     文件      37622  2001-08-11 19:13  串口通信编程实践\第01章\0102\scommtest.zip

     文件       3250  2004-03-05 10:47  串口通信编程实践\第01章\0103\comrx.cpp

     文件       2143  1997-09-24 14:58  串口通信编程实践\第02章\0201\SerialPort_demo原作者\CommTest\ColorStatic.cpp

     文件       1133  1997-09-24 11:00  串口通信编程实践\第02章\0201\SerialPort_demo原作者\CommTest\ColorStatic.h

     文件       4502  1997-11-12 12:46  串口通信编程实践\第02章\0201\SerialPort_demo原作者\CommTest\COMMTEST.001

     文件      40948  1997-12-26 11:48  串口通信编程实践\第02章\0201\SerialPort_demo原作者\CommTest\COMMTEST.APS

     文件       3490  1997-12-26 11:46  串口通信编程实践\第02章\0201\SerialPort_demo原作者\CommTest\COMMTEST.CLW

     文件       1380  1998-02-01 17:21  串口通信编程实践\第02章\0201\SerialPort_demo原作者\CommTest\COMMTEST.CPP

............此处省略518个文件信息

评论

共有 条评论