Vitaly_Romanishko <[EMAIL PROTECTED]> writes:

> If I have CharPtr variable how can I check if it is a memory pointer?
> Functions like MemPtrSize() or MemPtrFree() will crash if you pass
> non-memory pointer variable.

You don't do that. You fix your program so that you don't pass bogus
values to functions. Trying to work around your bugs by checking for
validity is just compounding one error on top of existing errors.

-- 
Dave Carrigan ([EMAIL PROTECTED])            | Yow! I feel real SOPHISTICATED
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | being in FRANCE!
Seattle, WA, USA                            | 
http://www.rudedog.org/                     | 


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to