Thanks. Based on your Info, I figured out the problem. I had given the code resource an extension of 'bin', therefore they were added as is to the new PRC file, including the DB header. When I changed the extension to 'prc', then the linker correctly extracted the code resource from the "code resource PRC".
LionScribe "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 03:37 PM 1/8/2004, LionScribe wrote: > >When creating a code resource using CW 9.2, and Palm OS 68K linker, > >I find that the first function starts at an offset of 0x62. > >At offset 0 the compiler places the name of the file. Am I doing something > >wrong? > >In the Palm Plug-In example I don't see that they calculate an offsets. > > The file that the linker emits for a code resource is actually a PRC file > with just the code resource included as the only resource. Have you tried > looking at the output with PRC Explorer. When you link this code resource > into another app, the Palm OS 68K linker just merges that resource from the > "code resource PRC" into the new PRC file. > > -- > Ben Combee <[EMAIL PROTECTED]> > CodeWarrior for Palm OS technical lead > Palm OS programming help @ www.palmoswerks.com > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
