修改MSCOMM32.OCX突破16个串口限制

Folks,

I noticed a few posts about the limitation to port 1-16 of MSComm. As 
I completed my generic ASCOM DSLR driver, I wanted to fix this 
limitation.

There is a hack that can be done to the mscomm file to increase the 
port number to 1-256:

Get an HEX editor
open C:\windows\system32\mscomm32.ocx (make a backup copy too)
Find the string "66 3D 10 00" (there is only one)
Change the string to "66 3D FF 00"
Save the file.

I just tested it with my driver and my $3 USB to rs232. It would 
normally go on port 14 but I changed to port 255 and it works great.

Maybe this is old news, but just in case you need it...

Cheers,

Vincenzo



Another Link:

http://www.foxite.com/archives/mscomm32ocx-hack-0000081167.htm




评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值