Paul Reger wrote:

This is probably a stupid question but ...  in the armlet example code from 
MW/CW 9.3 there are two targets.  One creates an ARM binary that is linked into 
a .bin file.  The second target creates a 68K binary that links the first 
target's .bin file into resource area of the 68k image.

In C code in the second target, that resource is referenced ala:

MemHandle mh = DmGetResource('ARMC', 1);

My question is how does this work?  I mimic'd the same thing, and it does not 
find the resource.  Oh, I should mention that my app is a palm os shared 
library.


in the .rcp file:

DATA

DATA <ResType.s> ID <ResId.n>
[LOCALE <LocaleName.s>] <FileName.s>

Example:

DATA "junk" ID 1000 "binary.bin"



--
-------------------------------------------------------------------------
  Henk Jonas                                            [EMAIL PROTECTED]
  Palm OS ® certified developer

  Please contact me, if you need an off-side contract worker.
-------------------------------------------------------------------------

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

Reply via email to