> Ben Combee: > Have you tried making a simple shared library and trying that? When a > shared library is loaded, its 'libr' 0 resource is locked into memory, and > the beginning of the libr segment is called to get the address of the > dispatch table. Once you see how that mechanism work with a simple shared library, then the HostXFer code should be clearer.
Shouldn't an ExgLib be able to install itself before any calling application loads its library? The HostXfer has a host app that installs an ExgLib via the normalLaunch entry point to the app. My impression was that their was something magical (I don't know what) about a shared library that is an ExgLib that causes it's installer to be run by the OS at install time so that it does not need any application or SysLoadLib call to call it's installer routine that registers it with the system library table or the ExgMgr. Unlike the HostXfer example, I would like my ExgLib to register at install time, not by launching an app. If my assumption above is incorrect then maybe the only way to do that is to make my ExgLib into an app and call my Installer routine from the syncNotify entry point. Thanks, Jason -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
