At 06:21 PM 6/23/2003, John Wilund wrote:
Hi,

While poking around resources I stumbled across a multi code application and took a good look at the different code resources. The thing is that all code resources but ID 0 and 1 starts with 6 words wich I can't explain.... It might look something like this:

FEF8
0005
FFFF
FEF8
0000
8410

I'm sure anyone around here knows.....

The CodeWarrior linker puts a special header at the start of all the additional code resources that tells the runtime code how to position the code in memory when it locks the resources during application startup. A version of this header is stored in 'code' 0 for the standard 'code' 1 resource.


You can see details of this header at the top of the PalmOS_Startup.cpp file in the CW runtime library source.

--
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/

Reply via email to