Subject: Re: Treo 650 (GSM) crashing on delete record! From: "Daniel Carlan ( InfoData Bacau )" <[EMAIL PROTECTED]> Date: Mon, 21 Feb 2005 13:55:27 +0200
I've experienced the same problem in the past and the only solution that I've come up with was to use DmRemoveRecord instead of DmDeleteRecord. Try this and see if it still crashes. That's if u don't need the record for further usage.
while( DmNumRecords(gDBSMTH) != 0 ) { error = DmRemoveRecord ( gDBSMTH, 0 ); }
Regards,
As previously discussed DmDeleteRecord() appears broke on the current OS release in both the T5 and the Treo 650, so you have to use either DmArchiveRecord() or DmRemoveRecord(), depending on which better suits your purpose.
Roger Stringer Marietta Systems, Inc. (www.rf-tp.com)
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
