🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to access COM12

#2218
From: Helmut Giese
Date: Sat, 24 Mar 2007 10:59
20 lines
1605 bytes
On Fri, 23 Mar 2007 13:39:38 -0800, "Remy Lebeau \(TeamB\)"
<no.spam@no.spam.com> wrote:

Hi Gambit,
>> I have a many-year-old application which handles several modems
>> at the same time. Now the system got once more expanded, I
>> have to deal with COM ports up to '12' - and I cannot open them
>
>That is because you are not opening them correctly.  
Yes, I supposed this to be the case :)

>If you read the
>documentation for CreateFile() at MSDN, you will see the following:
>
>    "To specify a COM port number greater than 9, use the following
>syntax: "\\\\.\\COM10". This syntax works for all port numbers and
>hardware that allows COM port numbers to be specified."
Thanks a lot, you saved me a lot of head scratching - as so often.
Have a nice weekend and best regards
Helmut Giese
Technical Details
Message-ID: <460503e0.618843@forums.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4604415e.2029877@forums.borland.com> <46044966$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,298d0aeb494eed72
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: hgiese@ratiosoft.com (Helmut Giese)
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to access COM12
Date: Sat, 24 Mar 2007 10:59:51 GMT
Message-ID: <460503e0.618843@forums.borland.com>
References: <4604415e.2029877@forums.borland.com> <46044966$1@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 1.11/32.235
NNTP-Posting-Host: 84.138.133.46
X-Trace: newsgroups.borland.com 1174733978 84.138.133.46 (24 Mar 2007 03:59:38 -0800)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail