Scott L. Johnson <[EMAIL PROTECTED]> wrote:
> Take a look at the equivalent in CodeWarrior, the function called
> __LoadAndRelocate__() in PalmOS_Startup.c.  It calls DmGet1Resource() to
> recover the code segment handles to be unlocked.  (And I sure hope that CW
> multi segment apps are ROMable!)  Would this work in GCC?

It seems a little bit tacky :-), but if it works for CW, there's no reason
why it wouldn't for GCC.  In fact, Charles can do this himself right now
if he wants to: the relevant code is _GccReleaseCode in dreloc.c in the
prc-tools source code.  Just add a similar function with this name to
your project with the modification Scott suggests and it will override
the one from the library.

    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