You can't call between sections when globals aren't available (possibly when
your constructor is being called).  Also, make sure the segment definitions
are visible to every function that needs them (i.e. in the header file). 
See the HTML help file that comes with prc-tools (esp. section 3.2 Multiple
Code Resources).


BrownB wrote:

> Hello, I need to know if there are restrictions in the segment assignment
> for the members of a class. I have a problem that I can't solve: when I
> call a well declared/defined class costructor, my palm try to jump to a
> wrong location, causing a memory error. The contructor is placed in a
> segment and is calling a function in another segment.
> 
> Any idea? Thank you also for links to any useful site,
> BrownB


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

Reply via email to