登录
首页 » 通信 » 前段时间刚刚接触VC的串行通讯,在网上找到的了SerialPort类的使用方法,不过我想将这个类做在DLL中,然后在VB中做通讯界面调用。花了几天时间终于做完了...

前段时间刚刚接触VC的串行通讯,在网上找到的了SerialPort类的使用方法,不过我想将这个类做在DLL中,然后在VB中做通讯界面调用。花了几天时间终于做完了...

于 2023-03-29 发布 文件大小:3.61 MB
0 203
下载积分: 2 下载次数: 1

代码说明:

前段时间刚刚接触VC的串行通讯,在网上找到的了SerialPort类的使用方法,不过我想将这个类做在DLL中,然后在VB中做通讯界面调用。花了几天时间终于做完了,将SerailPort类的DLL工程共享一下,-Some time ago just contact VC serial communication, the Internet found the use of the SerialPort class, but I would like to do this class in the DLL, and then in the VB to do communication interface call. Spent a few days was finally done, and will SerailPort class DLL project to share what,

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • visual development tools such as Visual C++, Delphi, C++ Builder and others all...
    虽然Windows下可视化开发工具如VC、Delphi、C++ Builder等都有专用的定时器控件Timer,而且使用很方便,可以实现一定的定时功能,但最小计时精度仅为55ms,且定时器消息在多任务操作系统中的优先级很低,不能得到及时响应,往往不能满足实时控制环境下的应用。不过Microsoft公司在Win32 API函数库中已经为用户提供了一组用于高精度计时的底层函数,如果用户使用得当,计时精度可到1ms。这个计时精度、对于一般的实时系统控制完全可以满足要求。现将由C++ Builder 4.0提供的重新封装后的一组与时间相关的主要接口函数(函数名、参数、功能与Win32 API基本相同)说明如下: -visual development tools such as Visual C++, Delphi, C++ Builder and others all have dedicated Timer timer control, but it is convenient. can achieve a timing function, but only the minimum time of 55 ms accuracy. Timer news and multi-task operating system in the low priority that is not to respond in a timely manner, often fail to meet the real-time control environment applications. However, Microsoft Corporation in the Win32 API function has been to provide the user with a group for high-precision the bottom was a time function, if the user is properly utilized, time accuracy can be a ms. Accuracy this time, and for most of the real-time control system can meet the requirements.
    2022-02-11 22:11:49下载
    积分:1
  • LINUX下消息队列
    Linux下消息队列 用于进程间通信,有4个例程,可以实现 1.消息队列是消息的链表,具有特定的格式,存放在内存中并由消息队列标识符标识.  2.消息队列允许一个或多个进程向它写入与读取消息.  3.管道和命名管道都是通信数据都是先进先出的原则。  4.消息队列可以实现消息的随机查询,消息不一定要以先进先出的次序读取,也可以按消息的类型读取.比FIFO更有优势。     目前主要有两种类型的消息队列:POSIX消息队列以及系统V消息队列,系统V消息队列目前被大量使用。系统V消息队列是随内核持续的,只有在内核重起或者人工删除时,该消息队列才会被删除
    2022-07-27 21:44:31下载
    积分:1
  • ARM控制TC35在掉电模式下讯的源码
    ARM控制TC35在掉电模式下通讯的源码-ARM Control in Power-down mode, TC35 communication source
    2022-02-04 06:33:07下载
    积分:1
  • 串口讯控件,应用于delphi环境,RS232 串行口讯构件 ( 1.1 版,附源码 )...
    串口通讯控件,应用于delphi环境,RS232 串行口通讯构件 ( 1.1 版,附源码 ) -serial communication control, and applying the Delphi environment, RS232 serial port communication components (version 1.1, with source)
    2022-08-08 13:04:12下载
    积分:1
  • OFDM 4QAM用MATLAB仿真
    OFDM 4QAM simulation using Matlab
    2023-03-18 09:40:03下载
    积分:1
  • 编写邮件发送程序必备的库文件。其中定义了所需结构
    编写邮件发送程序必备的库文件。其中定义了所需结构-preparation procedures required of the library. Which defines the required structures
    2022-11-17 15:10:03下载
    积分:1
  • 可以直接使用的RS编码器,标准C语言,便于调试和移植
    可以直接使用的RS编码器,标准C语言,便于调试和移植
    2022-08-21 16:19:56下载
    积分:1
  • pc到PLC的串口讯程序源码 有详细的注释
    pc到PLC的串口通讯程序源码 有详细的注释-pc to the PLC serial communication program source has detailed notes
    2022-03-03 04:58:38下载
    积分:1
  • Based on Nios_ realize G_729 voice compression decompression algorithms
    基于Nios_实现G_729语音压缩解压算法-Based on Nios_ realize G_729 voice compression decompression algorithms
    2022-02-07 01:08:17下载
    积分:1
  • 微软亚洲研究院论文:无线网络视频端到端传输中的功耗优化
    微软亚洲研究院论文:无线网络视频端到端传输中的功耗优化-Microsoft Asia Research Institute Papers : end-to-end wireless video transmission of power optimization
    2022-02-02 02:41:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载