Re: How do I get a list of all serial ports
From: bob (bob_at_notthere.com)
Date: 11/19/04
- Next message: bob: "Re: How to gain control of comm port timeouts"
- Previous message: Slava M. Usov: "Re: Question about ZwQueryObject"
- In reply to: Michael Eisele: "How do I get a list of all serial ports"
- Next in thread: Arkady Frenkel: "Re: How do I get a list of all serial ports"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: bob: "Re: How to gain control of comm port timeouts"
- Previous message: Slava M. Usov: "Re: Question about ZwQueryObject"
- In reply to: Michael Eisele: "How do I get a list of all serial ports"
- Next in thread: Arkady Frenkel: "Re: How do I get a list of all serial ports"
- Messages sorted by: [ date ] [ thread ]