Article View: borland.public.cppbuilder.nativeapi
Article #16480WriteFile problems (help me!)
From: MWP
Date: Wed, 14 May 2003 15:22
Date: Wed, 14 May 2003 15:22
12 lines
1262 bytes
1262 bytes
Hi all... Im am doing the following simple line that is running about 40 times a second: WriteFile(ComHandle, Block, Length, &BytesWritten, NULL); ComHandle is pointing to a COM port opened at 19200. Length is never more than 20 (verified). It will work for a random amount of time then, WriteFile gets called but doesnt return... ever. Anyone know what the problem could be?
Technical Details
Message-ID:
<3ec25f43$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9ac30f5163521f9f,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-14 08:26:39 PST From: "MWP" <mwp@overclockers.com.au> Sender: "MWP" <mwp@overclockers.com.au> Reply-To: "MWP" <mwp@overclockers.com.au> Subject: WriteFile problems (help me!) Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 203.16.214.242 203.16.214.242 X-Forwarded-For: unknown, 150.101.76.247 NNTP-Posting-Host: 207.105.83.65 Message-ID: <3ec25f43$1@newsgroups.borland.com> Date: 14 May 2003 08:22:43 -0700 X-Trace: newsgroups.borland.com 1052925763 207.105.83.65 (14 May 2003 08:22:43 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail