"Ender Wiggin" <[EMAIL PROTECTED]> wrote in message
news:38132@palm-dev-forum...
>
> Can I use pointers in my records, its seems kinda strange if ya can seeing
> as memory moves around alot, so, is it possible? (ie. char*)
It depends. If your records are only alive for the life of the program and
your pointing to locked chunks on the heap, you're probably OK. If you want
to point to items in other records, its best to use a unique ID or index of
the other record, then maybe a separate offset. I have several classes I
use that manage a packed collection of strings all stored in a database heap
chunk -- that is really useful, and it avoids having pointers except for the
short period of time when things are locked.
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/