• 大小: 2.26M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-14
  • 语言: 其他
  • 标签: 其他  

资源简介

CommTest.zip

资源截图

代码片段和文件信息

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

#include “stdafx.h“
#include “CommTest.h“
#include “CommTestDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CCommTestApp

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

/////////////////////////////////////////////////////////////////////////////
// CCommTestApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CCommTestApp object

CCommTestApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CCommTestApp initialization

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

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-09-01 23:14  CommTest\
     文件       35940  2014-09-01 23:14  CommTest\CommTest.aps
     文件        1510  2014-09-01 23:13  CommTest\CommTest.clw
     文件        2091  2002-01-01 01:09  CommTest\CommTest.cpp
     文件        4687  2014-09-01 23:14  CommTest\CommTest.dsp
     文件         585  2002-01-01 22:34  CommTest\CommTest.dsw
     文件        1346  2002-01-01 01:09  CommTest\CommTest.h
     文件       66560  2014-09-01 23:14  CommTest\CommTest.ncb
     文件       49664  2014-09-01 23:14  CommTest\CommTest.opt
     文件         250  2014-09-01 23:14  CommTest\CommTest.plg
     文件        6472  2014-09-01 23:14  CommTest\CommTest.rc
     文件        8127  2014-09-01 23:14  CommTest\CommTestDlg.cpp
     文件        1679  2014-09-01 21:27  CommTest\CommTestDlg.h
     目录           0  2014-09-01 23:14  CommTest\Debug\
     文件      118841  2014-09-01 23:14  CommTest\Debug\CommTest.exe
     文件      339844  2014-09-01 23:14  CommTest\Debug\CommTest.ilk
     文件       15639  2014-09-01 22:38  CommTest\Debug\CommTest.obj
     文件     5499308  2014-09-01 22:38  CommTest\Debug\CommTest.pch
     文件      402432  2014-09-01 23:14  CommTest\Debug\CommTest.pdb
     文件        2700  2014-09-01 23:14  CommTest\Debug\CommTest.res
     文件       43706  2014-09-01 23:14  CommTest\Debug\CommTestDlg.obj
     文件       47304  2014-09-01 22:38  CommTest\Debug\mscomm.obj
     文件      105389  2014-09-01 22:38  CommTest\Debug\StdAfx.obj
     文件      189440  2014-09-01 23:14  CommTest\Debug\vc60.idb
     文件      364544  2014-09-01 23:14  CommTest\Debug\vc60.pdb
     文件        8569  2002-01-01 22:25  CommTest\mscomm.cpp
     文件        3221  2002-01-01 22:25  CommTest\mscomm.h
     文件        3615  2002-01-01 01:09  CommTest\ReadMe.txt
     目录           0  2014-09-01 23:14  CommTest\res\
     文件        1007  2014-09-01 23:14  CommTest\resource.h
     文件        1078  2002-01-01 01:09  CommTest\res\CommTest.ico
............此处省略4个文件信息

评论

共有 条评论