> I have a shared library that I only want to allow
> one opened session per user.

The normal usage pattern for shared libraries is to start with a SysLibFind
to see if the library is already loaded, and then only call SysLibLoad if it
isn't already loaded. You can keep track of the number of applications that
have your library open. See this Knowledge Base article for a lot of
information about shared libraries, including more on keeping an "open
count".

http://oasis.palm.com/dev/kb/papers/1143.cfm

There are lots of other articles in the KB about shared libraries; have a
look around.
-
Danny

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

Reply via email to