Oops. Brad is right. I only looked at your errors, not the declaration. Sorry about that.
-Jon -------------------------------------------- Jonathan Hays Palm OS Certified Developer http://hazelware.luggle.com -------------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brad Figler Sent: Thursday, April 08, 2004 12:58 PM To: Palm Developer Forum Subject: Re: Arrays/Pointer in Palm OS! 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/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
