-
上位机软件动态获取计算机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
-
设计了一个低通FIR滤波器,需要的可以参考
设计了一个低通FIR滤波器,需要的可以参考-Designed a low-pass FIR filter, need to refer to
- 2022-08-02 15:56:46下载
- 积分:1
-
用C#编写发手机中文短信息Windows服务
用C#编写发手机中文短信息Windows服务-Windows serve about chinese short message send programme with C# compile
- 2022-11-05 20:00:03下载
- 积分:1
-
编码器和解码器预编码方案
encoder and decoder programme for pre-coding MIMO system based on THP algorithm -encoder and decoder programme for pre-coding MIMO system based on THP algorithm
- 2022-03-06 20:57:20下载
- 积分:1
-
Hello
This pdf ebook is a discription for 4g futures
Hello
This pdf ebook is a discription for 4g futures
- 2022-03-18 14:30:34下载
- 积分:1
-
为了更好编程上传资料的详细功能、包含许多有用的信息
为了更好编程上传资料的详细功能、包含许多有用的信息-FOR USE
- 2022-02-05 15:03:36下载
- 积分:1
-
本例是采用UDP通信,包括服务器与客户端,包括数据重传机制和异常处理机制...
本例是采用UDP通信,包括服务器与客户端,包括数据重传机制和异常处理机制-In this case is the use of UDP communications, including server and client, including data retransmission mechanism and exception handling mechanism
- 2022-02-01 15:09:22下载
- 积分:1
-
是vs2005下CRC16算法的例程,测试通过.
测试数据:0103000000f0
结果:458E...
是vs2005下CRC16算法的例程,测试通过.
测试数据:0103000000f0
结果:458E-CRC16 algorithm is under vs2005 routine, test. Test data: 0103000000f0 results: 458E
- 2022-10-24 02:45:04下载
- 积分:1
-
Chinese RFC documents, without translation, the right to study very helpful!
中文RFC文件,无需翻译,对学习很有帮助!
- 2023-04-05 10:25:04下载
- 积分:1
-
SECS I, SECS II协议通讯源码
SECS I, SECS II协议通讯源码-SECS I, SECS II agreement communication source code
- 2023-03-12 22:30:04下载
- 积分:1