Hi all,

I'm developing an application with CodeWarrior 8.0. As I expected from
the beginning, the code segment exceeded 64K in size. I created a second
segment with the same property's as the first: Preloaded, Protected and
Locked. I disabeld 'Link Single Segment' in the project settings and I
could than link the project successfully.

In my application I have a  *.c  file for each form that contains the
FormEventHandler for that form and all the subs for handling user events
in that same form.

What's happening is that when I place one of these files in the second
segment, the correspondent form doesn't even draw, and I have to reset
the terminal (Symbol SPT 1800 with Palm OS 4.1). If I run the app in the
emulator I get the following error when I try to jumo to that form: 
"AppName just changed the emulated program counter to 0x000007F8. This
adress is invalid because it's not in a valid memory chunk."

It seems that the second segment hasn't even been loaded... The second
segment seems to be unreachable...
I tried code model Smart and Large.

Can anyone help me on this? does anyone have a project stationery for
large projects that can send me?
Thank you.

-------
Jos� Eduardo Martins

I'd like to die sleeping like my grand-father,
not screaming in terror like his passengers.

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

Reply via email to