I know that this is probably not the case but make sure that the Form that
you are trying to show actually exist. Ant the name of the Form you are
using is correct because AboutFormID does not look correct. It should be
something like FormAboutFrm.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eric Snider
Sent: Wednesday, May 31, 2000 5:14 AM
To: Palm Developer Forum
Subject: "MyApp" has just read directly from an unallocated chunk of memory
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/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/