What all the responses on this thread are adding up to seems to be that the library vendor, just like the OS vendor, must warn API clients that pointer arguments must be valid or the device will crash.
At 09:46 PM 2/4/2003 +0100, you wrote:
x-precedence:bulk
Why do you do it? It will never work. Pointer checks are useless in my eyes. The only reliable pointer check is maybe NULL and even this could be wrong in certain systems. It's just a senseless??? work.
my 2 cents
Henk
Mauck, Robert wrote:
One other twist I forgot to mention, I am working on Palm OS5.
Well, I have tried several techniques to test the pointer. I coded up a
routine that looks at the chunk and examines several flags. Warning: If
anyone does this the Endianess is wrong (from a 68k perspective). You need
to byte swap several values to make this work.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
