By this do you meen have an array of handles instead of and array of byte
arrays??
Surely if you do this then the array will just store the pointers and not
the actual data it is pointing to.
-----Original Message-----
From: Mark Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 11:24 AM
To: Palm Developer Forum
Subject: Re: How do I find out the size of a record - MORE!!
"Richard.Johnstone" <[EMAIL PROTECTED]> wrote:
>I want to have an array of byte[n], where n will be the size of the record
I
>have just got from the DB.
>Is there anyway to dynamically size the length of the byte[n]??
Allocate it with MemHandleNew(), lock it with MemHandleLock().
If you need to resize it, unlock it with MemHandleUnlock(),
resize it with MemHandleResize(), then lock it again with
MemHandleLock(). Free it with MemHandleFree().
The PalmOS SDK Reference is indispensable if you're doing
C development. See http://www.palmos.com/dev/tech/docs/.
--
-M- [EMAIL PROTECTED]
This server is using the evaluation version of the Newsgroups
Interface, but if we all chip in, maybe Palm can upgrade to MultiView.
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/