Dear Seliga,
Thanks for your reply.
I have created a shared library using CW .
This library is having lot of files. so it is exceeding the limit of 64K  of 
segment.
How can i create multiple segments in this shared library?
If you have any idea kindly suggest me. Or if any document is there in the net 
kindly provide the link.

Thanks once again for your reply.
Regards,
Harsha





Michal Seliga <[EMAIL PROTECTED]> wrote: segment can't be bigger then 64kb. 
large model doesn't influence max. segment size

in static library you can have more then one segment

in dynamic library there are tricks how to make it work with more then one
segment, but you will have to search for howto (or maybe someone here will guide
you), i don't know details

hvreddy wrote:
> Hi ,
> I am using  CW-9.2 for  my Application  development for Z22 (PALM OS).
> I have one big my own Library application which is occupying more than 64K 
> size.
> When i compile this i am getting the following Linker error message.
> 
> Segment 'Segment_1' is greater than 64000 bytes  it will create an invalid 
> prc file.
> Link Error :__RuntimeModule__:Near data segment is bigger than 64K
> Link Error :eclibimpl.c:'init_common_com_mess' 16-bit  data reference to 
> 'Swelpar_P' is out os range
> 
> ...........................
> 
> Remaining all are similar kind of messages.
> 
>  I even enabled in CW settings code model as large.But it is still giving 
> same problem.Infact i am using  MemGluePtr to allocate memory of size more 
> than 64K using UInt32 pointer .
> Is there any limitation in PALM OS that one segment size should not cross 
> more than 64K. But if  we are creating Library i think we cannot  create more 
> than one segment.
> In that case  is it not possible to create libray whose segment size is more 
> than 64K.
> 
> 
> Kindly suggest me how to solve this problem.
> 
> 
> Thank in advance,
> 
> Regards,
> Harsha
> 

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