You could use the MemPtrSize or MemHandleSize function on your record (handle or pointer)
Ludovic In article <93753@palm-dev-forum>, "SL" <[EMAIL PROTECTED]> wrote: > Hey, > > i want to transfer data from my pc to my palm-application. Therefore i want > to create a database > with only one big record, that contains many strings simply packed one after > another. After > Hotsyncing my application could read the packed strings from the records an > work on with them. > > The record will look like this: > <string> "00" <string> "00" <string> "00" <string> "00" <string> "00" and so > on. > > The strings are from variable length. > May palm application will read the using a pointer that is increased by > stringlength after reading ... > > Now my problem: > > How could my application check if the read information was the last packed > string or if other > packed strings follow. I think if i know the exact record size in bytes it > would work, how can i get it > ??? > > > Thanks > SL > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
