At 7:00 PM +0100 15-03-00, John Marshall wrote:
>Bummer. So maybe this should be rewritten for ROM apps...
Yeah. Apps in ROM don't actually need to unlock the handle or release the
resource.... 'cause they're in ROM. The rest of the Dm and Mem routines
gracefully handle this, MemPtrRecoverHandle is the only exception.
Maybe you can just avoid all that in the startup code as well? I think you
could safely special case any chunk that's in a read-only heap...
We really should fix MemPtrRecoverHandle. It can be made to work properly
even for ROM handles... it's just messy and won't be very fast. (Because
it's the DataManager that creates the fake handle structure, not the memory
manager.)
--Bob
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html
- Problem running app from Flash ROM Charles Morris
- Re: Problem running app from Flash ROM Bob Ebert
- Re: Problem running app from Flash ROM Ron Nicholson
- Re: Problem running app from Flash ROM krollin
- Re: Problem running app from Flash ROM Charles Morris
- Re: Problem running app from Flash ROM John Marshall
- RE: Problem running app from Flash ROM Scott L. Johnson
- Re: Problem running app from Flash ROM Charles Morris
- Re: Problem running app from Flash ROM John Marshall
- Re: Problem running app from Flash ROM Bob Ebert
- Re: Problem running app from Flash ROM Bob Ebert
- Re: Problem running app from Flash ROM Vitaly Kruglikov
- Re: Problem running app from Flash ROM Charles Morris
- RE: Problem running app from Flash ROM Scott L. Johnson
- RE: Problem running app from Flash ROM krollin
- RE: Problem running app from Flash ROM Bob Ebert
