At 09:21 AM 2/2/2005, you wrote:
Is there any way that I can create a multi-segment C++ application (in CW 9.3) and still call code that is not in the first segment?

Yes... this can be done using Expanded Mode and calls in the CW runtime that setup the intersegment jump table in a A4-based region on the storage heap, rather than in the A5-based read/write globals.


Look in the CW runtime source for the _CW_LoadOtherSegments function. You call it with true to load the other segments in a non-global launch, then call it again with false to unload them when you're done.


-- Ben Combee, Senior Software Engineer, palmOne, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/


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

Reply via email to