Serial ports on windows
Boy do you ever nail that one. Back in the day when we were forced to write code to set up my customer's embedded stuff, always via serial, we did that battle..and it was ugly.
At least linux has /dev/serial/by-id and friends. Glad I moved to linux quite a long time back.
Now writing serial interfaces that don't require guessing which com port your thing is on is easy, instead of, pinging all the com ports to see if one responds as you wish, and so on, not to mention that other than the VB OLE/activeX object, it was hard to get to a port at all, at least back in the day. It was kind of embarrassing having a VB dependency in a C++ program...