Ben, thanks for the quick reply.

> This sounds like the POL support code that's in POL Lib 1.lib isn't in
> your
> first segment.  That could cause a crash -- it's likely that your code
> doesn't work on the emulator either, you're just not seeing the crash
> because you only load it to the emulator using the CW debugger.
> 

I just verified that POL Lib 1 is in segment 1 along with the Palm runtime
and other 'required' classes (i.e., App.cpp, etc.). I'm also able to take
the generated PRC and drag it over to the Palm emulator and run the app
(without the debugger) normally and exit the app, launch other apps and
re-enter the app again with no problems. The only problem is when I try to
reset the emulator or ask the debugger to launch my app using a different
launch code.

> There are no virtual segments.  If the merge option is off, CW will just
> include any compiler glue in the segment in which it is found.

Why then is my PilotMain (according to the link map) located in a segment
that's not defined in CW?

I'd be happy to send you the PRC and MAP files offline if you are
interested.

Again, thanks for the help.
-Mark



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

Reply via email to