Some code that worked fine with POSE "palmos35-en-*.rom" is giving me
trouble with "palmos31-en-iiix-dbg.rom."  I have some popup Forms that are
realized by the function calls:

    FormPtr dialog = FrmInitForm( formID );
    FrmSetEventHandler( dialog, handler );
    FrmPopupForm (formID);
    FrmDoDialog (dialog);

In my handler's switch() statement, I return to the previous from when a
button is selected like this:

    case ctlSelectEvent:
        FrmReturnToForm(0);
        handled = true;
        break;

The problem is I'm getting the error:

    "App (X,X) just read from memory location 0x0000221E, which
     is in an unallocated chunk of memory."

before FrmDoDialog() finishes executing.  This code worked fine for ROMs on
or after 3.5, but now that I'm trying to port back to OS 3.1 its giving me
trouble.

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