Re: How do I get a list of all serial ports

From: bob (bob_at_notthere.com)
Date: 11/19/04


Date: Fri, 19 Nov 2004 14:55:29 +0000 (UTC)

Hi

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)

Bob

"Michael Eisele" <MichaelEisele@discussions.microsoft.com> wrote in message
news:6CACAF98-C52D-4DBE-94FD-E06692200C6E@microsoft.com...
>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!
>
> Michael