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