Hi all,

Could someone please help resolve a record reading issue I'm having..

I am writing records to a DB which start off with a custom struct
"SystemType" and then followed by a variable length array of a different
struct "ItemType"

When I go to read the records back, I need to lock a "ItemType*" to see the
array of ItemTypes, but I first need to move over the "SystemType" which is
at the beginning of the record.

If I increment the locked pointer by one, it moves the size of itself, which
is not the same size at the SystemType.

Is there a way to move over the first struct and then lock the "ItemType*"
pointer?

Thank for the help anyone can provide.


Regards,

Jim




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

Reply via email to