🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Comm Port kicking my butt

#3386
From: Michel Leunen
Date: Sun, 18 Jun 2006 16:01
18 lines
1703 bytes
JD wrote:

> I don't know how to respond to that. I posted my code. What
> do you think?

What Remy told you is correct. The only way ReadFile() could hang is 
because no character at all is received otherwise the function returns 
with one parameter indicating how many characters were received.
Thus, the logical conclusion is that your app doesn't receive any character.

Michel
-- 
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
Technical Details
Message-ID: <449578bf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.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: <44944ca9$1@newsgroups.borland.com> <449450ef$1@newsgroups.borland.com> <449454bd$1@newsgroups.borland.com> <44947586$1@newsgroups.borland.com> <44955a2b$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
Date: Sun, 18 Jun 2006 18:01:27 +0200
From: Michel Leunen <nospam@noreply.please>
Organization: www.leunen.com
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Comm Port kicking my butt
References: <44944ca9$1@newsgroups.borland.com> <449450ef$1@newsgroups.borland.com> <449454bd$1@newsgroups.borland.com> <44947586$1@newsgroups.borland.com> <44955a2b$1@newsgroups.borland.com>
In-Reply-To: <44955a2b$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.247.75.59
Message-ID: <449578bf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1150646463 81.247.75.59 (18 Jun 2006 09:01:03 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.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