-
上位机软件动态获取计算机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
-
实现了TCP/IP中客户端的接收,发送功能,可以良好通信
实现了TCP/IP中客户端的接收,发送功能,可以良好通信-Realize the TCP/IP in the client to receive, send feature that good communication
- 2022-02-03 00:20:21下载
- 积分:1
-
LightForm.java a new phone used as a flashlight lighting application code
LightForm.java
一种新的手机灯光用做手电筒应用程序代码-LightForm.java a new phone used as a flashlight lighting application code
- 2023-06-29 10:35:03下载
- 积分:1
-
a code to transfer images using bluetooth
a code to transfer images using bluetooth
- 2023-01-02 23:10:04下载
- 积分:1
-
开源ZigBee 协议栈,提供给大家学习
开源ZigBee 协议栈,提供给大家学习-revenue ZigBee protocol stack, provides us with learning
- 2022-03-26 13:40:32下载
- 积分:1
-
无线通信原理
principles of wireless communications
- 2022-07-21 18:59:34下载
- 积分:1
-
收集的一些OPNET无线仿真的模型及程序,适用于OPNET8.1
收集的一些OPNET无线仿真的模型及程序,适用于OPNET8.1-10.0-collection of OPNET wireless simulation models and procedures applicable to OPNET8.1- 10.0
- 2022-02-24 16:21:27下载
- 积分:1
-
中国来电显示标准,为DTMF数据传送格式的,中国国标。
中国来电显示标准,为DTMF数据传送格式的,中国国标。-china CID(DTMF)
- 2022-06-16 16:04:34下载
- 积分:1
-
从国外找到的通信程序的DELPHI源代码3,是MODBUS的喔,DELPHI的这类例子可不多见.给大家学习...
从国外找到的通信程序的DELPHI源代码3,是MODBUS的喔,DELPHI的这类例子可不多见.给大家学习-from abroad to find the communication procedures of Delphi source code three is the MODBUS Oh, Delphi examples of this kind can be rare. Learning to everyone
- 2022-11-20 05:50:03下载
- 积分:1
-
串口model通讯程序,不需用控件,利用AIP开发
串口model通讯程序,不需用控件,利用AIP开发-serial model communication procedures, unnecessary controls, the use of AIP Development
- 2022-05-27 05:28:44下载
- 积分:1