I'm using CW8.3 and need to keep better track of whether or not I'm
over- or underwriting memory and possibly stomping on stuff I don't own.

If you test under the Palm OS Emulator, it does this testing for you automatically.

Thanks Keith. That saves me a lot of time. One thing I need clarification on, though, is the difference between these two types of declarations and how they're handled in memory:


UInt16 A[5];
A[6] = 0.0;

UInt16* B = new UInt16[5];
B[6] = 0.0;

The memory boundary violation for the "A" code is not caught by POSE, but the "B" code is caught.

Thanks,
Rich



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

Reply via email to