Okay, I got that baby to link up and everything, and I can now start the
program without the MemoryMgrNew error.  As it turns out, the makefile I
inherited was using Palm-RC in place of pilrc and build-prc.  As such, my
project definition file wasn't getting built in at the final step with
build-prc.

Now, however, I'm getting just plain old fatal exceptions when calling
functions in the new segment.  Anyway, back to the grindstone.  As always,
if you've been there, I'm always willing to hear some advice.

Thanks

"trevor" <[EMAIL PROTECTED]> wrote in message
news:37784@palm-dev-forum...
>
> 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/

Reply via email to