I compared all the settings between the two targets to make sure the "clone"
worked when I made the new target and they are all the same, including all
the paths..

Any ideas on what, if anything, I can look at to see why my program wouldn't
be able to find the resource? Is there a way to check if it's in the prc?
Does it mean anything that the prc of the multisegment target is 2.4k
*smaller* than the single segment prc? And that the armlet .bin happens to
be 2.4k??

Thanks,
Mike


"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 12:53 PM 4/29/2004, you wrote:
> >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?
>
> Resources are totally separate from code segmentation.  I can't see how
> going to multisegment would affect the abiltity of Rez to compile the .r
> file, and the 68K Linker to pull in those resources and add them to the
> output .tmp file.  The location of the .r file in the segment list
> shouldn't matter.
>
>
> -- Ben Combee, DTS technical lead, PalmSource, Inc.
>     Read "Combee on Palm OS" at http://palmos.combee.net/
>
>
>



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

Reply via email to