>yes this is very easy ...
>
>rec_hand = DmGetRecord(db_ref, 0); // example
>rec_size = MemHandleSize(rec_hand);
>
>so aktually you're get the size of a memhandle ....
Right. So the only problem is if someone didn't create the record at a
minimum size, but instead created a larger size, and never used
DmResizeRecord to resize it to the right size, then the number you get
isn't necessary the size of the actual record. So you do have to be a
little careful, or at least recognize the assumption that is being made.
Steve Patt
President, Stevens Creek Software
http://www.stevenscreek.com/palm
Best PQA ("ePQA"), PalmSource 99
Best Application ("PizzaScan"), Palm Developer's Conference 1998
First printing software for the Palm - September, 1997
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/