if (recordH == NULL)
// handle error
You ALWAYS should check a pointer when retrieving it. If a pointer is NULL,
its invalid (in general)
----- Original Message -----
From: "Praveen Potineni" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, September 13, 2001 8:45 PM
Subject: Re: Bus Error
> Do we have to test the validity of recordH...
> I didn't know that and i don't know how we can do that. Do u have any code
> snippet to do that...
>
> With regards..
> Praveen
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/