The most likely cause is the ref count on the shared library is not zero when you attempt to delete. In your app, you will need to use SysLibRemove in order to decrement the ref count and allow the shared library to be deleted (I am assuming you do a SysLibLoad in your app).
"Tucker, Jay" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have an app that consists of two files: MyApp.prc, which contains all the > code and resources for the GUI, and MySharedLib.prc, which is a library of > non-GUI-related functions used by the app. The two .prc files have different > Creator ID's, so they appear separately in the list on the Palm Info or > Delete screen. > > I'm having a problem "uninstalling" the app, that is, deleting the two .prc > files. I can bring up the Palm Delete screen and see both .prc files. If I > click on MyApp and tap the "Delete..." button, things work fine. But when I > click on MySharedLib and tap the "Delete..." button, I get the message > "Unable to delete MySharedLib." I have to do a soft reset before I'm able to > delete it. Can anyone explain this behavior? Is it simply impossible to > delete a shared lib once it has been opened? I'm keeping pretty careful > track of clients' opening and closing the lib, and in any case the only app > that's using the lib is MyApp, so I don't think I'm accidentally leaving the > shared lib open. Is there some special bit I have to set in the lib in order > to delete it? > > Any help would be most appreciated. > > Thanks, > Jay > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
