Sorry for the repeated message, but the last version escaped before I was
ready to send it.

At 11:40 AM 7/28/99 -0700, you wrote:
>So what happens when someone else does a SysLibRemove() but you're not
>finished with the library?
> 
The guideline expressed in Palm's shared library sample is that a library
should return an error from its Close function if it still has active
clients.  I think this is preferable to only unloading libraries that you
loaded.  Although I can't think of a scenario right now, it concerns me
that you could still be unloading a library that someone else is still using.

I'm wondering if it is possible for a library to unload itself.  In other
words, when a user calls Close (or, better yet, a library-defined Terminate
function), the library would check its usage count and call SysLibUnload?

Greg


Greg Winton
Bachmann Software and Services, LLC
mailto:[EMAIL PROTECTED]
http://www.bachmannsoftware.com
Software Development for Handheld & Mobile Computing, Windows and the Internet
Home of Bachmann Print Manager, the only graphical printing solution for
the Palm Computing Platform

Reply via email to