> How can load shared library with system start or other time before
> launch application uses library?
Unless your shared library is in ROM, it won't be around to be "loaded"
(SysLibLoad'ed) at system startup time.
For shared libraries that are in ROM, you can have an application handle the
sysAppLaunchCmdReset (or something like that) launch code. The parameters
indicate whether it's a hard reset or not. You probably only want to load
your library on a hard reset.
For shared libraries that are in RAM, you can have an application handle the
sysAppLaunchCmdSyncNotify launch code. You'll get this when the application
is installed via HotSync or beaming (but not when installing directly into
Poser). You can load your library if it isn't already loaded.
In both cases, you can combine the application and the shared library into a
single database. See the archives for details.
The shared library will remain loaded, and the user won't be able to delete
it, until the user does a no-notify reset. Of course, this isn't a concern
if it's in ROM.
--
Danny @ Palm
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/