This is simply it's way of telling you that you've exceeded the segment size limit. 
There are two different limits: the first is the 16 bit code reference, which limits 
how far a call site can be from the called procedure. The second is the segment size 
limit, which limits how much code you can have in a segment. The large code model 
allows you to eliminate the 16 bit code reference limit (while making your application 
bigger and slower). You're still stuck with the segment size limit, which is 
approximately 64K. If your application in too big for a single segment, then you've 
got no choice but to use multiple segments. As a bonus, you can probably arrange 
things so that the 16 bit code reference limit is no longer exceeded, allowing you to 
switch to the small code model (which makes your application smaller and faster than 
even the smart model). Switching to multi-segment is tricky the first time around, so 
I recommend reading the knowledge base articles and forum archives to help avoid the 
common pitfalls.
--
Peter Epstein
Palm Inc. Developer


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

Reply via email to