On Thursday 31 March 2005 11:54, Lukas Zeller wrote:

> Where did you copy this from? I believe I looked up DmAttachRecord in
> the most recent PalmOS docs and did not find the note about passing a
> NULL pointer. Anyway, documented or not, doing so reliably crashes
> the new SPRINT Treo at next call to DmSyncDatabase().

The PalmOS 3.5 sources, available by signing up somewhere years ago.  Not 
sure where to get it now, likely still available from one of the Palm 
companies.

Yeah hard to tell what's changed since 3.5.  I looked at the MemPtrResize() 
and I see that setting it to zero size is discouraged but not illegal.  Not 
sure of the ramifications of having a zero-size chunk connected to a record 
versus no chunk at all.

Really though I don't even think it's all that important, what size the 
chunk is.  You could probably just leave it as-is.  Once the sync process 
sees the delete attribute, the record will be removed.

-- 
/* Chris Faherty <[EMAIL PROTECTED]> */

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

Reply via email to