There is NO special procedure
Did you read my last post - it 100% answered why you have problems...
----
Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Mar 9, 2009 at 2:42 AM, Darren Barnes <[email protected]> wrote:
>
> You are using both MemHandleNew and MemPtrNew to allocate 1 chuck ??
> Use one or the other, not both.
>
> in reply :
>
> the three function pairs that are having problems are
> MemHandleNew/MeHandleFree,
>
> MemPtrNew/MemPtrFree and FtrPtrNew/FtrPtrFree.
>
> The malloc is for a list during the lifetime of the application, a desk
> accessory, as such is only around 1 to 5 kb.
>
> Because of resets with one pair of functions the others have been tried,
> without success.
>
> If FtrPtrNew is used without FtrPtrFree then a list can be retained without
> causing a reset, but that leaves a chunk in storage until next reset.
>
> The question now is :
>
> Is there special procedure involved with mallocs on an nvfs enabled device ?
>
> If so what are those procedures? There is no instruction in the
> documentation.
>
> many thanks and regards
>
> Darren
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please
> see http://www.access-company.com/developers/forums/
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to