Thanx Holger,
I did that but it is not working basically i m doing the following.
VoidHand h = DmNewRecord();
VoidPtr pRec = MemHandleLock( h );
DmWrite( pRec );
MemHandleUnlock( h);
So now where shld i use DmReleaseRecord as i m anyways using
MemHandleUnlock.
As u said i tried DmReleaseReord after MemHandleUnlock but it gives Fatal
exception....
I also tried DmReleaseRecord wijtout using MemHandlUnlock but still i get
the Fatal exception...
----- Original Message -----
From: "Holger Klawitter" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 8:25 PM
Subject: Re: DmGetRecord not working...
> Gaurav Palvia wrote:
> >
> > Hi folks,
> > i ve created a databse and opened it using dmreadwrite flag.
> > I ve successfully added record to it.Now when i try to read it using
> > DmGetRecord it returns NULL.
>
> DmGetRecord cannot fetch busy records.
> Have you DmRelaseRecord()ed the newly created record?
>
> With kind regards / Mit freundlichem Gru�
> Holger Klawitter
> --
> Holger Klawitter
> [EMAIL PROTECTED] http://www.klawitter.de
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/