Com ports
C / C++ / MFC
4
Posts
4
Posters
0
Views
1
Watching
-
disclaimer: don't know how well MS supports this in all versions of Windows, so use at your own risk The list of serial ports can be found in the registry at HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM You can use RegEnumValue() to enumerate and create the list you need.
-
Cool :cool: Given its description - The EnumPorts function enumerates the ports that are available for printing on a specified server. I don't think I EVER would have thought to use this to enumerate the serial communication ports.