========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : commtest
========================================================================
AppWizard has created this commtest application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your commtest application.
commtest.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CCommtestApp application class.
commtest.cpp
This is the main application source file that contains the application
class CCommtestApp.
commtest.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Developer Studio.
res\commtest.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file commtest.rc.
res\commtest.rc2
This file contains resources that are not edited by Microsoft
Developer Studio. You should place all resources not
editable by the resource editor in this file.
commtest.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one dialog class:
commtestDlg.h, commtestDlg.cpp - the dialog
These files contain your CCommtestDlg class. This class defines
the behavior of your application's main dialog. The dialog's
template is in commtest.rc, which can be edited in Microsoft
Developer Studio.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named commtest.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Developer Studio reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC40XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC40DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
使用SerialPort类设计串口通讯程序
共25个文件
h:7个
cpp:6个
doc:1个
4星 · 超过85%的资源 需积分: 10 108 下载量 126 浏览量
2009-08-28
20:34:14
上传
评论
收藏 55KB RAR 举报
温馨提示
使用SerialPort类设计串口通讯程序 Visual Studio 6.0中编写串口通讯程序,一般都使用Microsoft Communication Control(简称MSComm)的通讯控件,只要通 过对此控件的属性和事件进行相应编程操作,就可以轻松地实现串口通讯。但在Microsoft.Net技术广泛应用的今天,Visual Studio.Net没有将此控件加入控件库,所以人们采用了许多方法在Visual Studio.Net来编写串口通讯程序:第一种方法是通过采用Visual Studio 6.0中原来的MSComm控件这是最简单的,最方便的方法,但需要注册;第二种方法是采用微软在.NET推出了一个串口控件,基于.NET的P/Invoke调用方法实现;第三种方法是自己用API写串口通信,虽然难度高,但可以方便实现自己想要的各种功能。
资源详情
资源评论
资源推荐
收起资源包目录
VC+++Class+SerialPort.rar (25个子文件)
VC++ Class SerialPort
CommTest
ConfigDlg.h 2KB
ConfigDlg.cpp 3KB
StdAfx.cpp 206B
ColorStatic.h 1KB
ColorStatic.cpp 2KB
commtest.dsp 4KB
commtest.cpp 1KB
commtestDlg.h 2KB
commtest.aps 40KB
commtest.plg 2KB
readme.doc 13KB
ReadMe.txt 3KB
commtestDlg.cpp 13KB
StdAfx.h 928B
commtest.h 1KB
Resource.h 2KB
CommTest.dsw 541B
SerialPort.cpp 17KB
SerialPort.h 3KB
commtest.rc 12KB
res
commtest.ico 1KB
commtest.rc2 400B
commtest.ncb 161KB
commtest.clw 3KB
CommTest.opt 52KB
共 25 条
- 1
colabooy
- 粉丝: 4
- 资源: 19
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论6