• lonehorse
    了解作者
  • Visual C++
    开发工具
  • 55KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 10 积分
    下载积分
  • 23
    下载次数
  • 2006-10-08 23:13
    上传日期
Windows环境下,串口操作类,使用多线程,具有极好的可重用性。
serial_com_multithread.zip
  • res
  • SerialComm.ico
    1.1KB
  • SerialComm.rc2
    402B
  • SerialComm.plg
    1.4KB
  • resource.h
    1010B
  • SerialComm.dsw
    545B
  • www.pudn.com.txt
    218B
  • DebugDump.h
    3.5KB
  • SerialComm.cpp
    2.1KB
  • SerialCommHelper.cpp
    12.6KB
  • SerialComm.h
    1.3KB
  • ReadMe.txt
    3.6KB
  • SerialCommDlg.h
    1.6KB
  • SerialComm.clw
    1.4KB
  • SerialComm.opt
    58.5KB
  • StdAfx.cpp
    212B
  • Article.htm
    28.9KB
  • SerialComm.aps
    35.4KB
  • SerialComm.rc
    5.6KB
  • SerialBuffer.cpp
    5.3KB
  • SerialCommHelper.h
    2.1KB
  • SerialComm.htm
    28.9KB
  • StdAfx.h
    1.2KB
  • SerialCommDlg.cpp
    5.1KB
  • SerialComm.dsp
    4.5KB
  • SerialBuffer.h
    1.6KB
内容介绍
======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : SerialComm ======================================================================== AppWizard has created this SerialComm 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 SerialComm application. SerialComm.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. SerialComm.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CSerialCommApp application class. SerialComm.cpp This is the main application source file that contains the application class CSerialCommApp. SerialComm.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 Visual C++. SerialComm.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. res\SerialComm.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file SerialComm.rc. res\SerialComm.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file. ///////////////////////////////////////////////////////////////////////////// AppWizard creates one dialog class: SerialCommDlg.h, SerialCommDlg.cpp - the dialog These files contain your CSerialCommDlg class. This class defines the behavior of your application's main dialog. The dialog's template is in SerialComm.rc, which can be edited in Microsoft Visual C++. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named SerialComm.pch and a precompiled types file named StdAfx.obj. Resource.h This is the standard header file, which defines new resource IDs. Microsoft Visual C++ 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 MFC42XXX.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, MFC42DEU.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. /////////////////////////////////////////////////////////////////////////////
评论
    相关推荐
    • multi-thread-com-comunication.rar
      vc6.0下的多线程串行通信,实现几个线程对串口同时操作
    • waitconditions.zip
      你好,当你需要多线程串口通讯,这就有用
    • 2014版串口类.rar
      最新的2014版串口类,在1994版的基础上修改了部分代码,更加好用
    • exam_template.rar
      实现多线程运行,线程1按键扫描,扫描时间间隔20ms,读取按键键值;线程2,根据按键切换流水灯;线程3,接收串口1指令,并解析指令;线程,根据串口1的指令,通过蜂鸣器输出4morese码;
    • CRC.rar
      串口的读写操作放进了子线程中执行,附带测试软件
    • c#串口通信程序
      c#串口通信程序
    • C++ builder 下使用API函数利用多线程实现串口通信源程序
      C++ builder 下使用API函数利用多线程实现串口通信源程序,代码详细,有注释,是初学者的极佳的参考资料。
    • MTTTY多线程串口MSDN官方例程
      MTTTY多线程串口MSDN官方例程。Serial Communications in Win32 SDK,网址:https://msdn.microsoft.com/en-us/library/ff802693.aspx
    • Qt界面多线程opencv调用摄像头
      本代码是在qt平台下opencv利用多线程调用摄像头进行实时的视频显示在gui界面上,利用的时QThread的方法,是本人用了一年时间在维护的代码,需要的可以前来下载。当然我这也有qt上位机部分的代码,有需要的可以在评论...
    • C#多线程串口通信
      这是一个非常经典的C#串口多线程实例,把部分代码发送来让大家看看 using System; using System.IO; using System.IO.Ports; using System.Collections; using System.Threading; namespace Termie { /// ...