Your array is 300K in size. PalmOS only supports memory blocks < 64K unless you use feature pointers or such.

Keyur Patwa wrote:

Hi guys,

Actually I am trying to declare an array like UInt8 grayedPixel[307200];
And I am getting the following linking errors,
Link Error : __RuntimeModule__: Near data segment is bigger than 64k.
Link Error : __RuntimeModule__: Near data segment is bigger than 64k.
Link Error : PalmOS_Startup.cpp: 'MTWK::__LoadAndRelocate__(unsigned
char,_opaque*)' 16-bit data reference to '__segtable__' is out of range.


I think I should use pointer but I don't know how to iniitlize a pointer
in Palm os!

Its very urgent, can someone please reply soon?

Thanks,

Keyur



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

Reply via email to