I have a function that calculates the size.
size is calculated as
sizeof(UInt) + sizeof(ULong) + StrLen(name) + StrLen(address) + 2 /* for
the terminating null charaters */ + sizeof(Uint) + sizeof(int) +
sizeof(int) ;
thanks !
-kshama
Yu, Ken [IT] <[EMAIL PROTECTED]> wrote in message news:20979@palm-dev-forum...
>
> How do you determine 'size'? Is it large enough to store your entire
> record?
>
> -Ken
>
> > ----------
> > From: Kshama Sathaye[SMTP:[EMAIL PROTECTED]]
> > Reply To: Palm Developer Forum
> > Sent: Monday, August 14, 2000 4:38 PM
> > To: Palm Developer Forum
> > Subject: Re: DmWriteCheck fails.
> >
> > custHandle = DmNewHandle(size);
> >
> > --
> > 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/