At 2:27 PM -0400 8/30/01, Dave Lippincott wrote:
>I would imagine for shared libraries there must be some method for making
>them multi-segment. I can see 2 shared libraries on my Visor that are
>possibly multi-segmented, one of which is the Net Library(96K). It has a
>libr and code segments. Another developer library (121K) has a libr and 3
>code segments. Any ideas on how that works?
Through "manual" segmentation (i.e. the library loads it's own code segments, builds
its own cross-segment dispatch table, accesses functions in those other segments
through function pointers, etc.). Ugly? Yes, but macros can help to hide some of that
under a spiffy veneer. We plan to address this issue in a future version of the Palm
OS, but until then...
Regards,
Jim Schram
Palm Incorporated
Partner Engineering
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/