I'm debugging my app with POSE (3.0a6) and CW Pro R6 update 1. I get 
this error  when I try to show my about box:

"MyApp" 1.0 has just read directly from an unallocated chunk of memory

This happens as soon as the FrmInitForm() line gets executed in the code below.

void SplashAboutBox()
{
FormPtr frmP;

        frmP = FrmInitForm( AboutFormID );
        FrmDoDialog( frmP );
        FrmDeleteForm( frmP );
}

If I click "Continue" around six times and ignore the warnings from 
POSE then the about box form appears and behaves normally. Although 
its background color comes out pale yellow instead of white. What's 
the advice for figuring out problems like this? Am I handling this 
form code wrong? Is it a symptom of some other problem?

Eric

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to