> > > DmResizeRecord doesn't set the busy bit, so it seems like Stephen
should
> > > have subsequently used DmGetRecord to get a *writable* handle to the
> > record.
> >
> > In other words, DmResizeRecord returns an utterly useless handle? And
the
> > (pre-4.0) documentation is wrong when it suggests that you use it?
>
> No. If you already have a writable handle, and you subsequently resize the
> record...
...and the penny drops. Not only does DmResizeRecord not set the busy bit
itself, but it succeeds even if it is already set. So before I resize my
record, I use DmGetRecord rather than DmQueryRecord to read it.
Obvious really.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/