-
上位机软件动态获取计算机COM口
应用背景
通过MFC6.0生成一个单文档程序,然后新建一个对话框并生成一个新类;在对话框中添加两个组合框控件。在生成的新类上右击增加windows消息WM_INITDIALOG生成处理函数,函数内容见“关键技术描述”。函数体中的index和baud均为int型,可设为全局变量。
关键技术BOOL CComDlg::OnInitDialog()
{
CDialog::OnInitDialog();
((CComboBox *)GetDlgItem(IDC_COMBO2))->AddString("4800");
((CComboBox *)GetDlgItem(IDC_COMBO2))->AddString("9600");
((CComboBox *)GetDlgItem(IDC_COMBO2))->AddString("38400");
((CComboBox *)GetDlgItem(IDC_COMBO2))->AddString("115200");
((CComboBox *)GetDlgItem(IDC_COMBO2))->SetCurSel(0+baud);
long lReg;
HKEY hKey;
DWORD MaxValueLength;
- 2022-03-14 01:15:16下载
- 积分:1
-
数据与计算机通信(第七版  影印版) 答案1
数据与计算机通信(第七版 影印版) 答案1-Data and computer communications (seventh edition copy version) answer to a
- 2022-08-20 13:51:14下载
- 积分:1
-
This is the way I used to do when coding a number of useful procedures, Chuan
这是我以前做编码方式的时候的一些有用的程序,传上来供大家共享-This is the way I used to do when coding a number of useful procedures, Chuan-up for all to share
- 2023-08-29 20:00:03下载
- 积分:1
-
用c语言实现的在arm上运行的无线报警程序
用c语言实现的在arm上运行的无线报警程序-wireless alarm code on arm by c language
- 2023-01-23 12:45:03下载
- 积分:1
-
mimo toolbox pdf reference. this file wish you so goo work!
mimo toolbox pdf reference. this file wish you so goo work!
- 2023-02-05 02:25:03下载
- 积分:1
-
Generates Alist format files for SFT LDPC codes
Generates Alist format files for SFT LDPC codes
- 2022-02-18 16:47:25下载
- 积分:1
-
一个模拟根据ALOHA协议的实验,用于检测信息发送是否冲突.
一个模拟根据ALOHA协议的实验,用于检测信息发送是否冲突.-ALOHA an agreement under simulated experiments for detecting whether the information sent conflict.
- 2022-03-23 17:05:01下载
- 积分:1
-
通过介绍几种混沌序列的生成,完成对混沌扩频码的研究,比较了三种混沌序列相关性能
通过介绍几种混沌序列的生成,完成对混沌扩频码的研究,比较了三种混沌序列相关性能-Through the introduction of several chaotic sequence generation, completion of the chaotic spread-spectrum code study compared three types of serial correlation properties of chaotic
- 2022-06-02 03:52:01下载
- 积分:1
-
MAX3100串口通信代码是一个典型的
max3100串口通讯代码 很经典-MAX3100 serial communication code is a classic
- 2022-06-11 15:56:50下载
- 积分:1
-
贪吃蛇手机游戏开发PPT,主要内容是讲了贪吃蛇游戏各个功能的实现。...
贪吃蛇手机游戏开发PPT,主要内容是讲了贪吃蛇游戏各个功能的实现。-Snake mobile game development PPT, the main contents are about Snake Game achieve various functions.
- 2022-05-28 06:09:07下载
- 积分:1