At 10:10 2002-12-16 -0500, you wrote:
I have the line of code:

    FormPtr formP = FrmInitForm( formID );

That's executes fine most of the time when running gremlins, but
occassionally I get the error:

    XXXX (v.v) called SysFatalAlert with the message "MemoryMgr.c line 4340,
NULL Handle"

What are the potential sources of this error?  I found some previous threads
on this, but couldn't find anything on potential sources.
FrmInitForm has to allocate dynamic memory to make a copy of the form from your apps resources. If there isn't enough free memory to allocate space for the form, this seems like a possible error.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


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

Reply via email to