hm this contradicts the first message.
does it crash if you pass NULL for last param or doe sit crash if last
param is a valid pointer to a MomHandle

On 6/20/06, Manish <[EMAIL PROTECTED]> wrote:


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/



--
Best Regards, Dmitry Grinberg
Software Engineer, http://PalmPowerups.com
(847) 226 9295
AIM: hacker19180
MSN: [EMAIL PROTECTED]
ICQ: 165589894
Y! IM: dmitrygr2003

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

Reply via email to