At 10:11 AM -0800 2000/01/10, Turner, Bill/EXEUG3 wrote:
>1) Is it required that a shared library allow for multiple nested Open
>calls?
Nope.
But if you do, be sure to implement client (open/close) reference counting so the
library won't be released while it's still in-use, and remember that's actually up to
the caller to handle correctly not the library. And conversely, if you don't, be sure
to handle multiple calls to open/close appropriately. In any case, don't call any Palm
OS API in your library's sleep and wake routines which might perform interrupt-unsafe
actions.
>2) If I do have to allow a single application to make multiple Open calls,
>is there some way of identifying which application is making the call?
Nope.
Regards,
Jim Schram
3Com/Palm Computing
Partner Engineering