🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17402

Re: COM Ports

#17402
From: Stephan
Date: Wed, 26 Mar 2003 18:37
23 lines
1702 bytes
Hi,
Enumerating the com ports is something a lot of people has done.
It requires searching through the registry, which gets a little
messy because the data is stored in different places in
different versions of windows, and in different ways  in the
same version of windows.

Mr. Afanasyev's stuff is good, and has helped me extensively.
You might also do a google search on "serial port enumerators"

You are also welcome to the code I bashed out after reviewing a lot of
different enumerators. let me know, and I'll email it to you.

Have Fun
Stephan

"Steve Miller" <Steve@nospam.ca> wrote in message
news:3e808ad9@newsgroups.borland.com...
How do you get a list of the COM ports (hard or soft) that are available on
each computer? Is there something like list EnumPrinters for serial ports?

Thanks,
Steve
Technical Details
Message-ID: <3e81f386$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e808ad9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,aed95f327aebbd15
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-26 20:42:30 PST
From: "Stephan" <slaska@devarinc.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e808ad9@newsgroups.borland.com>
Subject: Re: COM Ports
Date: Wed, 26 Mar 2003 13:37:57 -0500
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 64.252.14.74
Message-ID: <3e81f386$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048703878 64.252.14.74 (26 Mar 2003 10:37:58 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail