Actually I bought CW 6 here in Japan a few years ago and did not use it yet, so I'd like to get a ROI first ;-)


My global vars are actually made of (all) movies titles, the sum of data is about 2 MB.

Would it be another way like:

1. modifying the generated code in assembly language to make a FAR segment ?

2. using databases ? (in this case I would need to create my pdb file on the PCfirst)

Thanks for your time.



Ben Combee wrote:
At 05:24 PM 10/21/2003, [EMAIL PROTECTED] wrote:

Hi,

using CW 6 and the latest SDK.

I'm trying to build a lot of data as global var, and I get the Linker message "Near data segment bigger than 64k...".

Even making the modem as Large, it doesn't work.


You've got too many global variables. You need to reduce your usage of globals, which include C++ virtual tables and exception handling tables. If you can't, you should update to the current version of CodeWarrior for Palm OS and look at using expanded mode for your program.




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

Reply via email to