Bill Heidler wrote:
Can't you just resize the existing record to the new size that you want instead of messing with MemHandleNew() and DmAttachRecord()?My first solution approach for updating the records was to use DmResizeRecord() to reduce the size of the old record (to 0 if possible, thus holding my record slot only), allocate a memory buffer using MemHandleNew() ), stuff it with the new data and then use DmAttachRecord() to replace the old record chunk.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
