High numbered COM ports not available to MSComm control
Posted on 2004-04-20
I have an app that sits on a Windows Terminal Server and uses what is effectively a modem bank through a piece of kit called SpartaCom MPTS. This makes the modems available on high COM port numbers - in my situation that range is currently COM21 to COM64.
However, according to all the documentation I can find, the maximum setting for the CommPort property on the MSComm control is 16. We can arrange for some COM ports to fall below this threshold but the idea is to make a huge range available to the program so that it can perform as many outgoing calls as possible, so we need to exceed this (apparently arbitrary) threshold.
Does anyone know of either a way of tweaking the control to accept high numbered COM ports, or a similar control that provides this functionality as well as the standard MSComm functionality, or a different way of doing it (perhaps using API calls)?
Lots of points but I intend to be picky if the answer falls into either of the latter two options...