Article View: borland.public.cppbuilder.nativeapi
Article #10699Re: Detecting physical and virtual COM ports
From: Davide Puccioni
Date: Fri, 26 Mar 2004 11:34
Date: Fri, 26 Mar 2004 11:34
24 lines
1552 bytes
1552 bytes
Lionel wrote: > Hello, > > It's easy to enumerate all COM ports installed > But i'm looking for a way to differenciate Physical and Virtual > > Can someone help me ? > > Thanks. > > I'm interested in a *valid* response too. In particular for various platforms (9x, NT, 2K, XP). Looking on the web, I've found any sort of methods (from brute force tries - for loop that collect fails on CreateFile() attempts on each port - to any sort of 'home made' registry queries) but no one exaustive :-( TeamB please help us! With regards, Davide.
Technical Details
Message-ID:
<40641540.4050807@nospam.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4062e04a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,604d065943415900 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-26 03:39:36 PST Message-ID: <40641540.4050807@nospam.com> Date: Fri, 26 Mar 2004 12:34:24 +0100 From: Davide Puccioni <davide70@nospam.com> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Detecting physical and virtual COM ports References: <4062e04a@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 82.84.172.132 X-Trace: newsgroups.borland.com 1080300870 82.84.172.132 (26 Mar 2004 03:34:30 -0800) Lines: 25 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail