Chris is right: go to the API reference and read the API functions that are in the 
Data Manager.  These are the only way the system will let you write to the storage 
heap.  Just wanted to add, though, that you don't ever want to store the pointers 
themselves in a database record.  The system is free to move unlocked chunks around to 
accommodate new allocations so they're likely to be invalid when you try to use them 
later.

What you'll need when working with string data of arbitrary length is to write a 
couple of functions to pack and unpack data to/from the database record.  The SDK 
sample applications are a good place to start for examples of how to do this.  
Probably the Address application is the best example.

David
=========================
David Beers
Pikesoft Mobile Computing
www.pikesoft.com



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

Reply via email to