--- Max Bian wrote: > If I use FileDmRead to read a file stream, > which is a "good" file stream, what are the > possible reasons that the actually read (the > return) bytes are smaller than specified > other than the case when EOF is encountered?
The FileDmRead docs say: "When the number of objects actually read is less than the number requested, you may be able to determine the cause of this result by examining the return value of the errP parameter or by calling the FileGetLastError function." So, I think you should look at the "File Streaming Error Codes" section of the "Palm OS � Programmer�s API Reference". __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
