🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetOverlappedResult on virtual serial COM port

#4733
From: Alan Bellingham
Date: Sun, 27 Nov 2005 22:57
33 lines
2213 bytes
"Thom A." <thoma@gmx.at> wrote:

>I have a problem scanning COM ports for a certain device:
>
>Actually, the task seems easy: Open each COM port, send an
>identification request, and close the respective connection when either
>an invalid response or no response at allis being received.

Ah, you're not the person behind my least favourite program, are you?

I hope not.

But there is one program that does this. Once every ten seconds or so,
it tries exactly this, _despite_ the fact it's been told my phone
attaches via the USB cradle. But oh no, it _will_ insist on trying to
see if I'm lying to it. And so, every 10 seconds, until I terminate it
with due prejudice, it spurts some data to each and every serial port it
can find.

For some reason, the printer I have attached to one port doesn't like
this very much.

When this phone comes up for replacement, I _will_ be going for a
different make.

So, may I advise you only to do this scan when asked, or at least to
allow the scan to be limited to nominated ports?

Alan Bellingham
-- 
Team Thai Kingdom
<url:http://www.borland.com/newsgroups/> Borland newsgroup descriptions
<url:http://www.borland.com/newsgroups/netiquette.html>      netiquette
Technical Details
Message-ID: <07eko1th91mct1lb3hc3hb80ib9d4hr107@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <438a0398$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,14a3bc55bdb22e73
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: GetOverlappedResult on virtual serial COM port
Date: Sun, 27 Nov 2005 22:57:45 +0000
Reply-To: alanb@episys.com
Message-ID: <07eko1th91mct1lb3hc3hb80ib9d4hr107@4ax.com>
References: <438a0398$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.49.31.105
X-Trace: newsgroups.borland.com 1133132230 62.49.31.105 (27 Nov 2005 14:57:10 -0700)
Lines: 33
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail