Article View: borland.public.cppbuilder.nativeapi
Article #16391Re: WriteFile problems (help me!)
From: MWP
Date: Wed, 14 May 2003 18:20
Date: Wed, 14 May 2003 18:20
40 lines
2488 bytes
2488 bytes
I know that page has the title of Overlapped IO, but ive also seen other pages that sugest it occours also with non-overlapped IO. Either way, im still having the problem they describe. WriteFile should always return... its as simple as that. Im my case its not, so it cant be anything but a Windows bug. What a pain... Any idea where else would be a good place to ask this question? "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org> wrote: >That page addresses overlapped I/O but you're not using overlapped (although the problem may persist). > >My experience with LCD's is that they can't take fast data very well. Maybe your's is different. > >In any case, it sounds as if the remedies mentioned in that page might be >worth trying. Also, a big comm buffer or a flush of the comm buffer prior >to the next send might be something to try. > >I hope you get past it (now if you could only solve my it-nukes-XP problem with the USB port! <g>). > >Thanks for the link. I'm bookmarking that one. > >.. Ed > >> MWP wrote in message >> news:3ec26741$1@newsgroups.borland.com... >> >> The device at the other end is a LCD module which doesnt have >> any kind of software/hardware flow control. >> >> Well ive found the problem... its a Windows bug: >> http://www.alumni.caltech.edu/~dank/overlap.htm >> >> Looks like it effects Windows XP as well. >> What a pain. >> >> Not sure how im going to get around it yet. > >
Technical Details
Message-ID:
<3ec288d7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ec25f43$1@newsgroups.borland.com> <3ec26129$1@newsgroups.borland.com> <3ec26741$1@newsgroups.borland.com> <3ec26f1b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9ac30f5163521f9f X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-14 11:28:55 PST From: "MWP" <mwp@overclockers.com.au> Sender: "MWP" <mwp@overclockers.com.au> Reply-To: "MWP" <mwp@overclockers.com.au> Subject: Re: 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 References: <3ec25f43$1@newsgroups.borland.com> <3ec26129$1@newsgroups.borland.com> <3ec26741$1@newsgroups.borland.com> <3ec26f1b$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3ec288d7$1@newsgroups.borland.com> Date: 14 May 2003 11:20:07 -0700 X-Trace: newsgroups.borland.com 1052936407 207.105.83.65 (14 May 2003 11:20:07 -0700) Lines: 41 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail