64K minus a small amount of overhead is the max chunk size you can allocate.
Several different ideas on how to allocate that much memory have been
posted. The only way I've ever tried is to re-engineer my application to
require smaller chunks.
----- Original Message -----
From: "elena" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 11:14 AM
Subject: very large record (168240 bytes).
>
> Hello,
>
> I am trying to develop application that uses a database.
> To this database I am trying to insert a very large record (168240 bytes).
> I am using the function:
> DmNewRecord(newdb,index,168240)
> In this point the OS returns zero size record.
> Is there any possibility to make it work with that record size.
>
> OR
>
> Is there anyway to allocate a big array in that size.
>
> I am using CodeWarrior.
>
> Best regards,
> Elena
>
>
> --
> 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/