Article View: borland.public.cppbuilder.nativeapi
Article #16315Re: Serial port COM10 and higher
From: KaKe
Date: Wed, 21 May 2003 09:17
Date: Wed, 21 May 2003 09:17
36 lines
2211 bytes
2211 bytes
Yes, it should be without ':'.
Windows can use 1024 pots at time but there are problems in accessing ports
by usually known way, when port number is more than 9. \\.\COMxx is solve
for this problem. Note that this way works also with the port numbers less
than 10.
- KaKe -
"In�s Fern�ndez" <ifernandezmed@terra.es> kirjoitti
viestiss�:3ecb20c0@newsgroups.borland.com...
> Thanks Kake, now it works (but with no ":" at the end).
> Best regards:
> In�s
>
> "KaKe" <kai.kamarainen@NOSPAM.ouman.fi> escribi� en el mensaje
> news:3ecb11f9$1@newsgroups.borland.com...
> > Try "\\.\COM10:" instead of "COM10:" as port name. Note that you need to
> > write \ -character as \\ in your code ("\\\\.\\COM10:").
> >
> > - KaKe -
> >
> > "In�s Fern�ndez" <ifernandezmed@terra.es> kirjoitti
> > viestiss�:3eca4789$1@newsgroups.borland.com...
> > > Does anybody know if the API function CreateFile, when used to open a
> > serial
> > > port, has problems opening ports higher than COM9?
> > >
> > > Thanks in advance:
> > > Ines
> > >
> > >
> >
> >
>
>
Technical Details
Message-ID:
<3ecb4420$1@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!newshosting.com!news-xfer1.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3eca4789$1@newsgroups.borland.com> <3ecb11f9$1@newsgroups.borland.com> <3ecb20c0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,2ad1ab2fdcf6283f X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-21 02:49:36 PST From: "KaKe" <kai.kamarainen@NOSPAM.ouman.fi> Newsgroups: borland.public.cppbuilder.nativeapi References: <3eca4789$1@newsgroups.borland.com> <3ecb11f9$1@newsgroups.borland.com> <3ecb20c0@newsgroups.borland.com> Subject: Re: Serial port COM10 and higher Date: Wed, 21 May 2003 12:17:25 +0300 Lines: 38 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: 192.107.216.66 Message-ID: <3ecb4420$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1053508640 192.107.216.66 (21 May 2003 02:17:20 -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!newshosting.com!news-xfer1.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail