I am having some trouble with segmenting my application. I am using POL. As my application has grown my segment 1 has become too large. It has the usual suspects in it:
POLD1.lib
PalmOSRuntime
POLDA.pch++
starter.cpp
starterapp.cpp


If I move any of these files out of segment 1, I get the following error from POSE when I Kill my debugging session: "XX just changed the emulated program counter to XX. This address is in neither RAM nor ROM."

If I leave all these files in segment 1, I get a linker error about destructors being out of range for 16 bit references unless I comment out the registration of my forms (this seems to have been what caused the size to grow beyond the limit)

I am not using extended, no exceptions and am debugging and compiling on a Mac using version 8 compiler.

I know there's some important stuff that needs to be in the first segment - but really don't know much beyond that. Can anyone give me an idea as to how to break my segment up safely?

thanks,

Scott Schmitz


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

Reply via email to