🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Detecting virtual comports

#757
From: Giuliano
Date: Fri, 25 Jan 2008 12:17
12 lines
1175 bytes
Il Fri, 25 Jan 2008 12:47:43 +0100, "Anton" <acvoosten@zeelandnet.nl> ha scritto:

[snip]
>However when I try to open the USB-to Serial Port (COM11 etc) from my GPS 
>CreateFile fails.
[snip]

You have to put the prefix \\.\ in front of the COM[n] string. 

For example: "\\\\.\\COM11".

Regards
Technical Details
Message-ID: <njkjp3d5feaailo8p568elmqhntg8br1ku@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4799cc68$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1645444b8ff69f0e
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Giuliano <nonfracassatelepalline@non_fracassate_le_pall.ine>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Detecting virtual comports
Date: Fri, 25 Jan 2008 13:17:13 +0100
Reply-To: dont_brk_the_O_O@withspam.org
Message-ID: <njkjp3d5feaailo8p568elmqhntg8br1ku@4ax.com>
References: <4799cc68$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.72.236.131
X-Trace: newsgroups.borland.com 1201263432 81.72.236.131 (25 Jan 2008 04:17:12 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail