How do I get a list of available serial ports in Win32?
The EnumSerialPorts v1.20 suggested by Nick D uses nine different methods to list the serial ports! We’re certainly not short on choice, though the results seem to vary. To save others the trouble, I’ll list them here and indicate their success in finding the com0com ports on my PC (XP Pro SP2): CreateFile(“COM” + 1->255) … Read more