> From: Nicolas Raitman
>
> FormPtr frmP = FrmGetActiveForm();
> FormPtr * frmPP = &frmP;
> FrmRemoveObject ( frmPP, FrmGetObjectIndex(frmP, 7000));
>
> The error I get when I execute the program is a memory manager error.
>
This is just a guess: You are removing an object from the currently active
form. Removing an object from a form may cause the form to be moved about
in memory, or at least it will likely cause objects on that form to be moved
around to fill in the "hole" in memory caused by removing the object.
Thereafter, any pointers to the current form, or to objects in the form that
moved, would be invalid.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/