mscomm32.ocx limitations

johnfe83
johnfe83 used Ask the Experts™
on
I'm working with a USB to serial converter and have 24 rs-232 serial ports on my WinXP machine.  I can manually interact with all 24 ports via HyperTerminal, however, my app only picks up comm ports 16 or lower.  Is this a limitation of mscomm32.ocx?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Yes it's a limitation of the MSComm control, the ComPort property of the MSComm control must be between 1 and 16.

I have gotten around this by using a 3rd party ActiveX control called Sax comm which allowed me to use 32 ports.

http://www.sax.net/activex/comm/


Hope this helps!
No comment has been added lately, so it's time to finalize this question.
Please leave any recommendations within the next seven days as to who deserves the points, or if they should be refunded.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

RavenOfThought
EE Cleanup Volunteer
You can also hack MSCOMM32.ocx with a hex editor to remove this limitation.

Look for the byte sequence 3D 10 00 in the file and change it to 3D FF 00.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial