I believe the calling function and called function shouldn't be more than 32K
apart.  I have an application with two segments and the size of PRC is 156K.

-Elizabeth




[EMAIL PROTECTED] on 05/10/2000 05:14:44 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Problems with Multi-Segment C++ Application




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/

Reply via email to