🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: COM Port Issue

#3467
From: JD
Date: Wed, 14 Jun 2006 20:19
11 lines
1085 bytes
"Jeff" <Jeff@nospam.com> wrote:
>
> [...] Is there a way to test for data in the buffer without
> pulling it out?

Yes. Use the win32 API ClearCommError. The bytes available
will be returned in the cbInQue member of the COMSTAT
structure.

~ JD
Technical Details
Message-ID: <44906f6e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44902db2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8d933165dffecbd7
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: COM Port Issue
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 205.188.116.136     
X-Forwarded-For: 172.135.204.157
References:  <44902db2@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44906f6e$1@newsgroups.borland.com>
Date: 14 Jun 2006 13:19:58 -0700
X-Trace: newsgroups.borland.com 1150316398 207.105.83.66 (14 Jun 2006 13:19:58 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail