Re: Developer warning: file handles can become un-usable after power OFF/ON
Date: Wed, 05 May 2004 19:41:46 -0700
TPT [Wed, 5 May 2004 19:27:29 -0700]:
>i think this issue has just been grossely overlooked by MSFT.
Well, I've got some real bad news for you. The rc=4319 from
ReadFile was not expected (not documented either) so it was
getting no retries at all --zero. When I made that check, and
increased the time for retries to 3.4 seconds (may not have
needed all that), the read works fine, as expected, even after
So, on this iPAQ 2215, your theory is ... hogwash (just kidding,
hogs don't need washing). ReadFile does work after a suspend.
No sky falling. But, thanks anyway. Whodathough rc=4319 from
If you're wondering, I did this three times, loading a 14 MB
file. After a second or so I suspend (after it's started
loading). After a few more seconds (10-20) I resume. Read
continues. Play continues. I haven't checked to see how
many retries it takes, but I think this is simply the SD
card not yet ready, which I first mentioned.
-- 40th Floor - Software @ http://40th.com/ iPlay : the ultimate audio player for iPAQs mp3, ogg, mp4, m4a, aac, wav, and then some