Have there been any bug reports for ExgDBRead?

This is regarding corrupted pdb's and prc's when translating them from PC
file stream to
a palm via ExgDBRead.
I noticed that my pdb's records were getting corrupted, if and only if:
1) a record was greater than 1024 bytes
and
2) my PrvReadProc routine returned less than the requested sizeP number of
bytes for that record

My fix for this was to busy-wait inside PrvReadProc until I had accumulated
the number of bytes
requested in sizeP by ExgDBRead (unless of course sizeP was greater than the
number of remaining bytes available
in my data stream, or there's no more data to read)

Anyone else seeing this sort of stuff with ExgDBRead?

Dave Chevalier
TriBeam Technologies, Inc.

ps. this post was in reference to:

>From: Danny Epstein
>Date: Thu, 15 Mar 2001 14:04:38
>
>---------------------------------------------------------------------------
-----
>
>"Jim Moy" wrote in message news:42454@palm-dev-forum...
>
>> The code appears to work correctly, no errors returned, but the
>> resulting database is corrupt right at the first record.
>
>Is there a pattern to the corruption?
<snip>





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to