At 04:03 PM 7/9/2003, Jeff Ishaq wrote:
I know, I know.  You're not supposed to have a segment >64K, so if this
happens, you convert your app to a multi-segmented app and move the .cpp
files around until each segment has <64K in size, and there are no
unresolved 16-bit references, etc.  Been there, done that.

Problem is, I have a Constructor 1.8 .rsrc file with a ton of forms and
bitmaps, and it's 70K in size.  So it's not like I can just move the
.rsrc file into a new segment, because anywhere I put it, it's still
70K.  What are my options here?  I spend a while trying to minimize the
resources therein, but there's nothing else I can strip out.

Resources aren't put into segments. Only code size matters for generating code segments. The location of your .rsrc file in the segment list in CW only determines the order in which it will be read by the linker.


You could have a problem if a single form or bitmap exceeded 64K in size, but the total size of the .rsrc file matters not.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



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

Reply via email to