I've been trying to break up a large application into multiple segments with
the PRC tools. I created a .def file, added the section attribute to
function declarations, used multigen to create assembly stub and linker
script, linked everything together. Wahoo, after working out some kinks
everything linked happily.
HOWEVER, now when I run the app it fatal errors immediately:
MemoryMgrNew.c, Line:4128, Invalid handle.
The actual code has not changed, just the added segment.
So I still must be missing something in the process. I tried to use the
debugger to determine where the blowup occurs, but it seems to happen before
I even hit PilotMain().
Any hints from those of you more experienced in this area are greatly
appreciated.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/