Article View: borland.public.cppbuilder.nativeapi
Article #3319Strange 'WriteFile' Freezing problem
From: Ramy
Date: Thu, 20 Jul 2006 16:49
Date: Thu, 20 Jul 2006 16:49
17 lines
1313 bytes
1313 bytes
Please Help, I'm having a very strange problem, sometimes my application is "Freezing" in the following command - WriteFile( hndl, TxBuff, MessageLen, &written, NULL ); (sending data through RS-232 port) sometimes it's happening after 15 seconds, and sometimes after 2 minutes.... I checked the command parameters and they all looks OK, I compared the command parameters (hndl, TxBuff...) when the command works OK, and when it's freezing, and they looks exactly the same..... what can be the problem ?? Thanks! Ramy.
Technical Details
Message-ID:
<44bfb418$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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,de20f5af4a62f92a,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ramy" <Ramy@NoMail.com> Sender: "Ramy" <Ramy@NoMail.com> Reply-To: "Ramy" <Ramy@NoMail.com> Subject: Strange 'WriteFile' Freezing problem Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 62.0.27.159 NNTP-Posting-Host: 207.105.83.66 Message-ID: <44bfb418$1@newsgroups.borland.com> Date: 20 Jul 2006 09:49:28 -0700 X-Trace: newsgroups.borland.com 1153414168 207.105.83.66 (20 Jul 2006 09:49:28 -0700) Lines: 19 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