on 8/29/00 11:17 AM, Magn�s ��r Torfason at [EMAIL PROTECTED] wrote:
> case MainCheckFreeChunkAccessButton:
> intPtr = (UInt16*)MemPtrNew(sizeof(UInt16));
> MemPtrFree(intPtr);
> *intPtr = 32; // <- This is NOT reported at all!
> break;
Have you tried this on the latest POSE (3.0a7)? I ask because one of the
bugs fixes in the latest release has to do with POSE's previous allowance of
apps writing to stale pointers - 3.0a7 catches this immediately. On a real
device, the above code probably won't crash right away - it depends on what
you overwrite...
JB
----------------------------------------------
JB Parrett [EMAIL PROTECTED]
Palm, Inc.
We grow a lot faster than trees,
so we miss a lot of stuff. - B. Andreas
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/