🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Naming the serial com port Com1,Com2,...Com4, \\.\Com5, \\.\Com6,..

#9529
From: Leo Havm�ller
Date: Wed, 07 Jul 2004 14:24
12 lines
1370 bytes
<Cahgerti Ghaviery> wrote in message news:40ebd523@newsgroups.borland.com...
> I was working on a simple rs232 communication program and learned an
> expensive lesson (spending long time to realize) that COM ports after COM4
> should be defined as \\.\COM5, \\.\COM6 ... instead of COM5 COM6.
>
> Can some one comment about this issue ?

COM1-COM9 can be opened without \\.\
COM10 and above must be opened with \\.\
All can be opened with \\.\

Leo Havm�ller.
Technical Details
Message-ID: <40ec07b8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40ebd523@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8b20be73baf79a0d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Leo Havm�ller" <leh@-nospam-rtx.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40ebd523@newsgroups.borland.com>
Subject: Re: Naming the serial com port Com1,Com2,...Com4, \\.\Com5, \\.\Com6,..
Date: Wed, 7 Jul 2004 16:24:57 +0200
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 80.63.27.146
Message-ID: <40ec07b8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1089210296 80.63.27.146 (7 Jul 2004 07:24:56 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail