Re: How do I get a list of all serial ports
From: bob (bob_at_notthere.com)
Date: Fri, 19 Nov 2004 14:55:29 +0000 (UTC)
No simple and easy way to do this.
Use of brute force technique does work but does not give all information.
Some nice techniques available on the www.codeproject.com (seach
'enumeratel') - for best results its worth implementing a couple of
techniques described on the site, as they do give different results.
If you don't have to support old operating systems then your takes is a bit
easier (you don't have to load libraries)
"Michael Eisele" <MichaelEisele@discussions.microsoft.com> wrote in message
>I have written a software in C++ which should display a list of all serial
> ports including USB, modem etc. Any hints how to get this list ?
> Many thanks!