This has been a good discussion, and pretty much
confirms the practices I had been following. Thanks.
Now for a followup question on handles. You can
attach a handle to a database (DmAttachRecord).
Are handles attached in this way "frozen". That is,
if I build an intricate structure with objects containing
handles referencing other objects, then attach all
of these handles to a database, with the structure
remain valid the next time I read it out of the database,
or do I have to have some other means of finding
the pieces and how they were linked?
F'r instance: an address book that supports
multiple addresses per entry. I might put an
array of "addressEntry" handles in the "personEntry"
structure. So I create some addressEntry handles
off the heap and attach them to the database. Can
I store the personEntry record w/ the handles and
expect everything to be ok, or would I be better off
getting the record index of the address entries and
saving -them- in the person entry?
(I hope I made the question clear ...)
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html