well, I tried some different things and think I found what the problem might
be. The size of the compiled program (the prc file) is above 64k (although
the link map from CW tells me the code is only like 62k, but I think this
has to do with the "smart" setting plus all data). Could this be the answer?
And can this be solved by creating a new segment?

If creating a new segment is the solution I have some more questions
regarding this. My project is now a single segment application that contains
five .cpp files. File A contains all event handlers and the pilotmain, the
other four files contain implementation of four different classes, each in
one file. File A creates instances of these four classes. These objects are
used from the different event handlers.

I read a guide on converting to a multisegment app and it mentions that I
should (apart from some CW settings and a new runtime lib) declare all
functions in another segment as extern. But the only files that I can drag
to segment 2 is one of the four files containing a class implementation.
Could I declare a whole class as extern or do I have to rethink from
scratch?

/Henrik

"Henrik Fredriksson" <[EMAIL PROTECTED]> skrev i meddelandet
news:109425@palm-dev-forum...
>
> Hi, I have a question about the Zire.
>
> When I sync my app to the Zire everything works ok and running the program
> works fine too but when I try to close it and go back to the launcher I
get
> a fatal exception. This does not happen on my m515 nor on all the
different
> emulator roms I've tried (from 3.5 debug to 4.1 debug). Anyone?
>
> /Henrik
>
>
>
>



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

Reply via email to