P Pankaj S Dec 10, 2003 #1 Hi, Is there any way (registry entry or API) to get the active ports? Thanks in advance, Pankaj
C Chris Tacke, eMVP Dec 10, 2003 #2 Just like with C++, there's no way to really know what's available short of enumerating through COM1 to COM9 and seeing what doesn't return an error code when you call CreateFile. -Chris
Just like with C++, there's no way to really know what's available short of enumerating through COM1 to COM9 and seeing what doesn't return an error code when you call CreateFile. -Chris