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 
regardsDarren

-- 
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