🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Number of Comm Ports

#17744
From: Stephan
Date: Mon, 03 Mar 2003 16:59
17 lines
1305 bytes
Hi!
two different methods:
search through the registry for com port entries,
try to open each com port COM1- COM255, keep track of the results
Search google for "com port enumerator"

Have fun
Stephan

"Luiz Rafael Culik Guimaraes" <culikr@uol.com.br> wrote in message
news:3e637c1a@newsgroups.borland.com...
Dear Friends

How to retrive the number of Com Ports on an machine

Regards
Luiz
Technical Details
Message-ID: <3e638a0a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e637c1a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,3df18786e91a87f2
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-04 13:28:35 PST
From: "Stephan" <slaska@devarinc.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e637c1a@newsgroups.borland.com>
Subject: Re: Number of Comm Ports
Date: Mon, 3 Mar 2003 11:59:55 -0500
Lines: 21
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: <3e638a0a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1046710794 64.252.14.74 (3 Mar 2003 08:59:54 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail