🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Comm Port kicking my butt

#3479
From: JD
Date: Sat, 17 Jun 2006 19:15
11 lines
1128 bytes
Michel Leunen <nospam@noreply.please> wrote:
>
>if( ! ::ReadFile(hCom, Buffer, 100, &nBytes, NULL) )
>or
>if( ! ::ReadFile(hCom, &Buffer[0], 100, &nBytes, NULL) )

Did I ever blush when I saw that ... until I tried it. In both
cases, the application hangs.

~ JD
Technical Details
Message-ID: <449454bd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44944ca9$1@newsgroups.borland.com> <449450ef$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5117e51131b9ac21
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: Comm Port kicking my butt
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 205.188.116.136     
X-Forwarded-For: 172.128.228.215
References: <44944ca9$1@newsgroups.borland.com> <449450ef$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <449454bd$1@newsgroups.borland.com>
Date: 17 Jun 2006 12:15:09 -0700
X-Trace: newsgroups.borland.com 1150571709 207.105.83.66 (17 Jun 2006 12:15:09 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail