🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Response not in que?

#6380
From: Neil P.
Date: Wed, 11 May 2005 20:12
33 lines
2291 bytes
If you where betting money, you would have actually won some, because I had
not seen/read that before.

Thanks

Do you believe, I even need to do I/O overlapped?
I am starting to get the feeling I don't need it at all?


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:42825df7$1@newsgroups.borland.com...
>
> "Neil P." <nporve01@hotmail.com> wrote in message
> news:4282440b$1@newsgroups.borland.com...
>
> > I am very hesitant in getting rid of ClearCommError(), I think it
> > is a nice function, because it prevents having to do reads if there
> > is nothing to read?
>
> A better way to handle that is to use the EV_RXCHAR event instead.  That
> way, rather than polling the queue status frequently, the OS can notify
you
> when data is actually available, and then you can go read it.
>
> I'm betting that you have not read the following article yet:
>
>     Serial Communications in Win32
>     http://msdn.microsoft.com/library/en-us/dnfiles/html/msdn_serial.asp
>
>
> Gambit
>
>
Technical Details
Message-ID: <42826927$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <427fa27e@newsgroups.borland.com> <vugv711ona1kdbekucqqkg6csqkcd4agrd@4ax.com> <427fca8b$1@newsgroups.borland.com> <427fce92$1@newsgroups.borland.com> <427fd0af@newsgroups.borland.com> <427ff371$1@newsgroups.borland.com> <42820cad$1@newsgroups.borland.com> <42823b43$1@newsgroups.borland.com> <4282440b$1@newsgroups.borland.com> <42825df7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,369fa724017da622
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Neil P." <nporve01@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <427fa27e@newsgroups.borland.com> <vugv711ona1kdbekucqqkg6csqkcd4agrd@4ax.com> <427fca8b$1@newsgroups.borland.com> <427fce92$1@newsgroups.borland.com> <427fd0af@newsgroups.borland.com> <427ff371$1@newsgroups.borland.com> <42820cad$1@newsgroups.borland.com> <42823b43$1@newsgroups.borland.com> <4282440b$1@newsgroups.borland.com> <42825df7$1@newsgroups.borland.com>
Subject: Re: Response not in que?
Date: Wed, 11 May 2005 16:12:44 -0400
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 68.209.111.59
Message-ID: <42826927$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115842855 68.209.111.59 (11 May 2005 13:20:55 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail