> Put a breakpoint at the end of your PilotMain and then step into the 
> runtime library. You might need to rebuild the runtime with debug symbols 
> to see anything useful.
> 
> The most likely cause is trashing of a return address on the stack, which 
> would cause your code to jump to a bad location where there are no valid 
> 68K instructions.

I have done that. I can step into my destructor being called (which is empty), but it 
enters 68k code at that point that I don't recognize. I had expected the forms parent 
class destructor to be called next but it is getting lost before that, as if something 
had messed up the vtable entries.
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to