"Chris Faherty" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sunday 20 February 2005 09:43, Ralph Curtis wrote: > > > I am having a problem with the 650. It crashes when my app performs a > > DmDeleteRecord call for a valid record! > > Perhaps you can you perform the DmDeleteRecord() in other ways.. >From what > I understand, it simply shrinks the chunk and sets the attributes. > > UInt16 attr; > > DmResizeRecord(MainDB, index, 0); /* i think you can do this */ > DmRecordInfo(MainDB, index, &attr, NULL, NULL); > attr |= dmRecAttrDelete|dmRecAttrDirty; > DmSetRecordInfo(MainDB, index, &attr, NULL); > > -- > /* Chris Faherty <[EMAIL PROTECTED]> */ >
Good suggestion, Chris. I have changed the algorithm slightly - have to get rid of the chunk altogether - and posted the workaround. It seems to satisfy my conduit. Best Regards, Ralph -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
