When ever I try to use FrmGetActiveForm(); and I'm in a particular
form... it does not work.. I get a bad pointer error.

This just started happening in code that was working... ugh. I thught I
may have hosed my ROM but I got a new rom for the POSE.

if I do something like:

FormPtr frmP = FrmGetActiveForm();

and then..

FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP, objectID)

the application crashes..

Now this is only when a particular form is the current form.. other
forms in my application work fine. What could possibly be wrong with the
form? The resource seem to be fine when I look at it in constructor.


Thanks,

Philip J. Matheson



Reply via email to