Charles Morris <[EMAIL PROTECTED]> wrote:
> would the fact that
> I now have multiple segments require some sort of clean up on application
> exit trigger this situation?

Yes.  The prc-tools startup code does the following to release the extra
code resources when your app exits:

        MemHandle hnd = MemPtrRecoverHandle (*++basep);
        MemHandleUnlock (hnd);
        DmReleaseResource (hnd);

Bummer.  So maybe this should be rewritten for ROM apps...

>[Quoting Bob Ebert...]
>> Probably by
>> keeping the handle around in a different variable...

Right.  I didn't want to use up some more global space and complicate
the startup code doing this, but perhaps we'll have to.  :-(

    John

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

Reply via email to