in article 40419@palm-dev-forum, Danny Epstein at [EMAIL PROTECTED]
wrote on 21/2/01 10:10 AM:

> In your case, it sounds like you're only changing the record if you decide
> you need to resize it, after reading the contents of the record. You should
> use DmGetRecord (even though you already have a handle for the record)
> before you make any changes. Then you can use DmReleaseRecord to mark the
> record dirty (and clear the busy bit). Another alternative would be to use
> DmSetRecordInfo to set the dirty bit manually, but that's more work, and it
> doesn't provide you with the protection you'd get if you used the busy bit.

Yet another alternative is for DmResizeRecord itself to set the busy bit. In
essence it's not substantially different from DmGetRecord (in that both
return a handle). IMHO, this is the logical thing to do.

Thanks for your prompt response to my original post ... it's appreciated.

Stephen Best
Bitware Australia


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