Update: yep, I know what's wrong - the array in memory is at 00422870 while
I'm getting pointer to it at 003E999A... so...?
PS2: I've tried making it plain - const
UInt8[xxxx]={0x09,0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x05....} the
same.

Can you please send me a reproduction of this? It sounds like it could be an array subscriping error, but it could also be a problem with the linker. When you do a "disassemble" on the file that defines this, do you see a code hunk that has all the right data?


There could also be a problem if you declare this in one file without using the "#pragma pcconstreldata on" around the declaration. If you don't do this, the user code will try to read it out of the data segment instead of the code segment.

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