I've had a variety of problems with large (>90K) multi-segment C++ apps. I
never resolved any of these problems. I observed a *large* number of things
that appeared to be inconsistent with the documentation, both Palm SDK and
Metrowerks.
This stuff is complicated, confusing and poorly documented enough that I'm
reluctant to blame it on MW or Palm; it very well could have been my error.
Every time I've had segment issues I screwed around with it until it
suddenly and inexplicably started working. Quite a frustrating experience
(compounded by some completely inaccurate statements in the MW docs).
Regards,
Ben Flaumenhaft
>I have a multi-segment C++ application framework built upon Palm OS
>3.5 SDK. I am running Metrowerks CW 6.0 on Mac (g3, 320 Meg). I am
>using PalmOS.pch and MSL Runtime Palm OS (2i).lib, and am building
>with the C++ Stationary.
>
>
>For some reason, the project has just stopped debugging. It compiles
>fine, but will crash with Error 16 dialog upon my attempt to dump it
>to POSE (3.0a5). This error is generated when an object is
>instantiated from another (2nd+) segment, from the first. This is
>repeatable. This does not occur in a C project.
>
>This problem started when files were moved across segments, but at
>this point, even the act of moving the files back to the original
>segments maintains the error.
>
>My associate and I have moved the segments around, combined and split
>the resource files to ensure <64 Segments, and trimmed the project
>drastically to attempt to isolate the problem. No Dice. We are
>aproximately 10 Segments, none of them exceding more than about 45K.
>
>Our perception is that this is a problem with the MetroWerks IDE,
>causing the IDE makefile to mislink the segments. This is a major
>showstopper for us.
>
>Has anybody experience problems with multi-segmented C++ projects?
>
>thanks in advance.
>
>-Nick
>--
>Nicholas Anderson, Lead PalmOS Developer, HealtheTech Inc.
>[EMAIL PROTECTED] (206) 855 8064
>
>"Comfort slays the passion of life, and walks, grinning, at it's funeral"
>-anonymous
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/