<< Click to Display Table of Contents >> Navigation: TCP COM Bridge > FAQ and known issues |
Q: I want to handle (create or remove) connections programmatically.
A: You can do that via the command line.
Q: I cannot open a virtual serial port.
A: Invoking the "CreateFIle" function with a string like "COM%d" lets you open only the ports COM–COM9. To open other ports, use a string like "\\.\COM%d" instead. In that case, you can open COM ports with any number.
Q: How can I get a list of all virtual COM ports?
A: You can use the SetupAPI functions and look for all devices of the class with the GUID {487ECAF4-213D-4d17-AA07-2F91078B619D}.