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.
--
-------------------------------------------------------------------------
[EMAIL PROTECTED]                                       www.metaviewsoft.de

<A HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946";>
<IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung_palmos.jpg";></A>
-------------------------------------------------------------------------


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to