> DmRecordInfo (dbP, rec, &attr, NULL, NULL);
> attr |= dmRecAttrDirty;
> DmSetRecordInfo (dbP, rec, &attr, NULL);

This is a no-op, at least on Palm OS 4.0. (I haven't checked other
versions.) DmSetRecordInfo can't be used to modify the "system use only"
attributes. There is only one of these currently: the dirty bit. Use
DmGetRecord, followed by DmReleaseRecord with true for the dirty argument,
to set a record's dirty bit.

> I set it, and then I check it again with another DmRecordInfo call and
> it is still set...

You might want to have a look at this part of your code. The above call to
DmSetRecordInfo should have no effect on Palm OS 4.0. A subsequent call to
DmRecordInfo should indicate this. Exiting the app shouldn't have any
effect.
--
Danny @ PalmSource

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

Reply via email to