I know it sounds novice but start commenting calls out to your global functions one by one. You'll track it down eventually.
Is there some kind of list file that is generated by the compiler that will tell you where the objects are placed? Maybe you could double check your code against that. /************************************************** Heath Schaefer Product Engineer Sporlan Division, Parker Hannifin Corporation 636.239.7711 x243 **************************************************/ Steve Moseley Sent by: %%email.bounce%% 02/06/2008 09:34 PM Please respond to "Palm Developer Forum" <palm-dev-forum@news.palmos.com> To "Palm Developer Forum" <palm-dev-forum@news.palmos.com> cc Subject Re: In PODS multi-segment app, some function calls jump to wrong place > Are you sure that every use of those functions has a proper > function declaration with the appropriate attribute? The > compiler needs to know that it's calling a different segment > at the time it generates the object file, so missing those > attributes will mean that you have code that jumps to the > wrong location. Thanks for the reply Ben. I've gone through the whole source and checked all the segment attributes. I've made sure that all global functions have prototypes only in their include files, with the correct compiler attribs, and that I don't double up on any one function being prototyped in more than one place. Each group of functions has one compilation unit, and one include file associated with it. (Did a whole lot of tidy-ups as I went!) Unfortunately the problem still happens. Moving code around to different segments causes the problem to move around, but the issue still won't go away. Any other ideas of things I can try? Ways I can track it down? Thanks for your help! Regards, - Steve -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/ ----------------------------------------- "PLEASE NOTE: The preceding information may be confidential or privileged. It only should be used or disseminated for the purpose of conducting business with Parker. If you are not an intended recipient, please notify the sender by replying to this message and then delete the information from your system. Thank you for your cooperation." -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/