Ok, I'll help you guys help me. :)

I narrowed it down to when I try to lock an ARMlet.

armH = DmGetResource('ARMC', 1000);
armP = MemHandleLock(armH);

It fails with a Resource not found on the DmGetResource.

I have an "armlet.r" file that has:
read 'ARMC' (1000, "Armlet code") "myarmlet.bin";

So, is there something special I have to do with the ARMlet resource in the
multisegment target?  Do I need to put the resource file in its own segment?

Thanks for any help!!

-Mike




"Mike" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I got the "Your project is over 64k" error from the linker today.  I
> searched here and found a post by Ben referring to the "Targeting for Palm
> OS" instructions.  I followed the instructions in the PDF.  I moved two
> files into a new segment.  They handle config screens in my program.  It
> compiled without the linker complaining.  But I load it up and as soon as
> you run it, I get a fatal error:
> MemoryMgr.c, Line 3564
> NULL Handle
>
> The single segment target, despite the linker error, seems to work fine.
>
> I moved the two files back into the main segment of the multi segment
target
> so everything is in one segment.  The linker complains as expected, but i
> still get the fatal error when I try to run it.  Any ideas?
>
> Thanks,
> Mike
>
>
>
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to