Article View: borland.public.cppbuilder.nativeapi
Article #2004Re: Error handling Flash Card Reader?
From: Bob Reeves
Date: Fri, 04 May 2007 14:09
Date: Fri, 04 May 2007 14:09
11 lines
1440 bytes
1440 bytes
That worked like a charm.. I did discover that if I read it a 3rd time it would work. This with the combination of your sugestion tells me the error code wasn't being reset the second time through even though the code assigns -1 to SetLast Error(). Must be something I don't understand about SetLast Error() but now it doesn't matter.. It works, thanks you saved me allot of trouble. I was going to loop through it twice to get around the problem but your solution is much better. Bob
Technical Details
Message-ID:
<463b3f9f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4638ae13$1@newsgroups.borland.com> <463a27a6@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,189da4c7c99990ac X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Bob Reeves" <bob@somethinxtra.com> From: "Bob Reeves" <bob@somethinxtra.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4638ae13$1@newsgroups.borland.com> <463a27a6@newsgroups.borland.com> Subject: Re: Error handling Flash Card Reader? Date: Fri, 4 May 2007 09:09:07 -0500 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 70.184.20.29 Message-ID: <463b3f9f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1178288031 70.184.20.29 (4 May 2007 07:13:51 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail