Is the only way to see which Com Ports are open and available for use by polling each one?
I am quite new to programming related to Com Ports and the original way I was going to tackle it was by just trying each Com Port like this on each Com Port until 10.
Any suggestions or advice? Would greatly appreciate it.Code:hPort = CreateFile(L"COM9", GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0);