i have some functions which have some big buffers (1000 char array's).  the
arrays are only used at the top of these branches as buffers for incoming
information and such and are parsed into structs before leaving.   i had my
stack blow up though because of this but got around it using static
char[1000]'s.  would it be more beneficial to MemPtrNew them then release it
when i'm done?  or am i handling it alright as it is?

-----Original Message-----
From: Roberto Amorim <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, January 04, 2000 6:55 AM
Subject: Re: malloc


>You can allocate memory from dynamic heap as pointers or handles.
>
>MemHandleNew
>MemHandleLock
>MemPtrNew
>
>To deallocate:
>MemHandleUnlock
>MemHandleFree
>MemPtrFree
>
>Before you read and write a handle you have to lock it. Use lock and
>unlock functions.
>
>DCU wrote:
>>
>> Hello,
>>
>> Does anyone know the palm equivalent to ANSI C "malloc();" ?
>>
>> Kristopher Keller
>

Reply via email to