Article View: borland.public.cppbuilder.nativeapi
Article #761Re: Detecting virtual comports
From: Anton
Date: Fri, 25 Jan 2008 13:26
Date: Fri, 25 Jan 2008 13:26
32 lines
1774 bytes
1774 bytes
Thank you very much, how simple can it be. But,...... With a few of those existing virtual ports which are not really active, it takes more then 10 seconds to open them and that's just the thing I want to avoid. Maybe there's a timeout you can set or something else? Thanks again, Regards Anton "Giuliano" <nonfracassatelepalline@non_fracassate_le_pall.ine> schreef in bericht news:njkjp3d5feaailo8p568elmqhntg8br1ku@4ax.com... > 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:
<4799e374$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4799cc68$1@newsgroups.borland.com> <njkjp3d5feaailo8p568elmqhntg8br1ku@4ax.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: "Anton" <acvoosten@zeelandnet.nl> Newsgroups: borland.public.cppbuilder.nativeapi References: <4799cc68$1@newsgroups.borland.com> <njkjp3d5feaailo8p568elmqhntg8br1ku@4ax.com> Subject: Re: Detecting virtual comports Date: Fri, 25 Jan 2008 14:26:01 +0100 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 86.87.46.231 Message-ID: <4799e374$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1201267572 86.87.46.231 (25 Jan 2008 05:26:12 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail