if(ptr==NULL) //not valid


> -----Original Message-----
> From: Bobby Williams [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, January 24, 2001 1:46 PM
> To:   Palm Developer Forum
> Subject:      How to test for valid pointers?
> 
> I'm writing a function that needs to determine if a value passed to it
> represents a 32-bit value or a valid MemPtr.  Is there a safe way to
> determine if a pointer is valid?  I'm having no luck with my research.
> (Yes,
> I've checked the archives. :) )
> 
> 
> -- 
> 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/

Reply via email to