"Terry Dennis" <[EMAIL PROTECTED]> wrote in message news:77170@palm-dev-forum... > ... > It would be handy to have a "MemValidatePtr(stuffP)" that would return true > if the passed address was a valid ptr, or false if it wasn't. Or, it might > even return the MemHandle or NULL. Right now, if I do a > "MemPtrRecoverHandle" it generates a fatal error. Maybe another function > similar to it that would return NULL if not a valid ptr, or the MemHandle if > valid?
The SDK 4.0 docs say that MemPtrRecoverHandle() "Returns 0 if no error, or memErrNotEnoughSpace memErrInvalidParam, or memErrChunkLocked if an error occurs. " It is instead throwing one of those reset dialogs? -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
