> Remember, what Robert is trying to do is write a library, i.e., > the code in which he wants to validate a pointer does not have > control of what the caller is actually passing in a function > argument that is supposed to be a pointer. > . . .
Yes, it's an admirable idea but it just won't work for any arbitrary pointer. If he wants to validate pointers, then require the pointers to come from his own library package, a la Aaron's suggestion - allocate your own control structure in which to wrap a normal pointer. (Don't mean to offend you, Robert, by mentioning you in third person.) Dennis Leas ------------------- [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
