While stepping through the code the other properties of the form look fine but numObjects is zero and the objects array pointer is undefined. This situation remains even while the form is visible on the screen. This is under the Release PalmSim (the debug PalmSim doesn't produce the problem I'm trying to trace). Under the debug PalmSim the form pointer isn't even valid - it's pointing to freed memory (FEFEF, or is that unallocated?).
You can't look at the structures when using PalmSim -- the actual layout of the form object differs from the 68K builds of Palm OS to the x86 or ARM builds, so the structure offsets and values are all wrong. Under OS 5, a FormPtr is really an opaque value.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
