I am writing a part of code what I have used 
MemHandle oldH;
UInt16 index = 0;
 newH = DmNewHandle(dbP,  size);
DmAttachRecord (dbP, (UInt16*) &index, (MemHandle) newH, (MemHandle *) &oldH);

here it returns the previous record's handle in oldH.
if I pass NULL instead of oldH,
my application gets crashed.
Manish 



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to