Hello Gavin , Todd and Heather,

Yeah Heather, I made sure that in 68K Linker panel and turn off the Link
Single Segment option.
Now i can able to get some of the code to other (new 3rd) segment and
compile it properly.
But i dont know why my application is not behaving the same way, as it did
earlier, when every thing was in 2 segments.
In segment-1 i have the application startup logic and database creations and
initializations, in segment-2 i have my forms handle events and static
functions related to them. Now in my 3rd segment i moved some of those forms
handle events and related static functions.
I am getting runtime error when the application is trying to access the
global variables. I was able to access the same variables earlier
perfectly..
Is there any special way to deal with them...

Thank you in advance,

Murali


"Heather Tufts" <[EMAIL PROTECTED]> wrote in message
news:70747@palm-dev-forum...

Murali,

Mosit likely you just need to go into the Edit-{target name} Settings
menu in the 68K Linker panel and turn off the Link Single Segment
option. Otherwise it doesn't matter how much you mess with it in the
Segments tab, because the linker will put it all in one segment anyway.

-hkmlt

> > No, Codewarrior will not automatically handle it. Under the
> "Segments" tab
> > for your project you will see the exact size of each
> segment. If one is
> > larger than 64K you are hosed. But to rememdy simply create
> a new segment
> > and move some of your code there. Simply drag and drop
> between segments to
> > move code around. You should try and reduce the amount of
> cross segment
> > calls by keeping related code together. ie if MyCode.c
> makes a lot of
> calls
> > into MyUtils.c then they prolly should go in the same segment.





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