That is a helpful start.  However, I don't think there is anything in my own
code that is doing this.  Since my previous release did not have this
problem, and I have changed almost nothing in my own code, I believe the
culprit is elsewhere.  So I wonder if there is something in the way PRC 2.0
sets up multi-segment apps which is causing the problem: would the fact that
I now have multiple segments require some sort of clean up on application
exit trigger this situation?  Or, is there anything in the 3.5 SDK that
could cause a problem like this in a 3.3 flash rom environment (unlikely, I
think, but I am just exploring)?  Has anyone else installed PRC 2.0
multi-segment apps in flash rom successfully?

Charles Morris



Bob Ebert <[EMAIL PROTECTED]> wrote in message
news:4870@palm-dev-forum...
>
> At 5:28 AM +0100 14-03-00, Charles Morris wrote:
> >I have a problem.  The last release of my application worked fine when
> >installed in flash ROM.  Since then, I have migrated to PRC tools 2.0 and
> >re-organized as a multi-segment application, and migrated to SDK 3.5 (so
> >lots of internal changes, but all of them very straightforward in
nature).
> >Now when the application is installed in flash ROM, when you exit the
> >application, it triggers Fatal Error MemoryMgrNew.c, Line:1896, Not a
> >Handle.  Anyone have any ideas?  There is no problem if the application
is
> >installed in regular memory.
>
> The problem is that something is trying to call MemPtrRecoverHandle on a
> pointer to something in your app's resource file.
>
> MemPtrRecoverHandle does not work on pointers to ROM.  That's because
there
> are no 'real' handles for ROM chunks, instead the data manager fakes up a
> handle when you call DmGetResource.
>
> There's no good workaround at this point.  You just have to find out
what's
> calling MemPtrRecoverHandle and implement that some other way.  Probably
by
> keeping the handle around in a different variable...
>
> --Bob
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to