At 6:06 PM +0800 2002/02/04, Keith wrote:
>But Palm OS reference said that
>"Returns errNone if no error. May display a fatal error message if
>the record pointer is invalid or the function overwrites the record."
>
>will fatal error display if i overwrite the record?

Only if you write beyond the bounds of the record. And of course, the record must be 
"loaded and locked" before you write to it.


>as I try using DmWrite b4, but i got bus error

Did you try to DmWrite more bytes than the record is in length? If so, you need to 
resize the record prior to writing the additional bytes.

You might want to read the Data Manager chapter of the Palm OS Reference for more 
info, and do a search on "DmWrite" in the Companion Guide for a couple code snippets.

Regards,

Jim Schram
Palm Incorporated
Partner Engineering

-- 
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