Article View: borland.public.cppbuilder.nativeapi
Article #16526Re: Comm Port API??
From: Andrew
Date: Mon, 12 May 2003 14:33
Date: Mon, 12 May 2003 14:33
34 lines
2182 bytes
2182 bytes
Thank you Vladimir "Vladimir Afanasyev" <avv@systema.kiev.ua> wrote in message news:3ebfae17$1@newsgroups.borland.com... > > Hi Andrew, > > "Andrew" <alamb@tynetec.co.uk> wrote: > >Hi everybody > > > >I'm trying to get a list of all the serial ports that are on a machine ie > >COM1, COM2 etc. I found an API function called GetSerialPortsList, this > >returns a char pointer with all available comm ports in it, However I get > >Unresolved external symbol error. Does anyone know how to get this running > >or do they know another method for finding the available commports on a > >system? > > I don't know such Win API function. > Windows uses Configuration Manager's functions for enumeration > devices. Configuration Manager is a part of DDK but > available for using without building DDK environment. > You can use C++ Builder for enumeration. > > TPortControl component can do enumeration in design and real > time (source code and help file included): > http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=16567 > > Now I am finishing article about enumeration and managing FIFO > control(and put it on codeproject site about some days). > > Vladimir. >
Technical Details
Message-ID:
<3ebfb0b1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ebf9ebf$1@newsgroups.borland.com> <3ebfae17$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b97565f09d9fdff2 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-12 07:37:58 PST From: "Andrew" <alamb@tynetec.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ebf9ebf$1@newsgroups.borland.com> <3ebfae17$1@newsgroups.borland.com> Subject: Re: Comm Port API?? Date: Mon, 12 May 2003 15:33:09 +0100 Lines: 36 Organization: Tynetec Ltd X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 80.177.44.179 Message-ID: <3ebfb0b1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1052750001 80.177.44.179 (12 May 2003 07:33:21 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail