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