🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get teh Com Port List

#15577
From: Hern�n Tornielli
Date: Thu, 26 Jun 2003 19:48
10 lines
1379 bytes
"david" <dmarquezl@hotmail.com> escribi� en el mensaje
news:3efb48e2@newsgroups.borland.com...

> I need to get the list com port available in the system. How can i do
this?

As far as I know, you will need to try to open a com port to know if it is a
available at
a given time, if so, then close the port unless you are going to use it.
You may use CreateFile() and CloseHandle() on each port you want to test.
Technical Details
Message-ID: <3efb4f70@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3efb48e2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,46ef27c63a89161b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-26 13:36:07 PST
From: "Hern�n Tornielli" <hernan@nospam.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3efb48e2@newsgroups.borland.com>
Subject: Re: How to get teh Com Port List
Date: Thu, 26 Jun 2003 16:48:18 -0300
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.59.45.250
Message-ID: <3efb4f70@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056657264 200.59.45.250 (26 Jun 2003 12:54:24 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail