Dear Ben,
  Thanks for ur help.
  I finally did it.
  Thanks once again.
  
  Regards,
  Harsha

Ben Combee <[EMAIL PROTECTED]> wrote:  On 11/12/06, hvreddy  wrote:
>
> Hi All,
>  Is it possible to create a global variable of size more than 64K in  palm 
> os? I tryed to create more than 64K size of array but the linker  is giving 
> error.Even i tryed using memptrNew also .Here also it gives  the same error.
> Is there a limitation for global variable size should not be more than 64K? 
> If so how can i solve this problem?

The space for all global variables is limited to 64K total, since the
start of all of the variables has to be accessed via a 32K offset from
the A5 register.  You can declare a global pointer (4 bytes) and
initialize it to point to a larger area allocated using MemGluePtrNew.

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


                                
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to