in reply to open com port list

See serial port control on Windows for starters

A crude way of getting an available port is to just sequentially attempt to open them until you get one that succeeds. Start at 0 and count up to 9 ( I do recall there are some tricks to win32 com ports over 9, but I doubt you have more than 9 going :-)


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku