修改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




發佈了29 篇原創文章 · 獲贊 37 · 訪問量 28萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章