"Gary Spinelli" <[EMAIL PROTECTED]> wrote in message
news:43708@palm-dev-forum...
> I was getting an error from the application when it tried to load a
shared
> library that was also on the card.
If the shared library has the same creator ID as the app, you can set the
bundle bit on the shared library and it'll get copied along with the app (as
well as getting deleted automatically when the app quits). There is no need
to handle a card launch specially in this case. Note that setting the bundle
bit will also cause the shared library to be beamed along with the app (but
only when beaming to Palm OS 4.0 devices).
If, on the other hand, the shared library has it's own creator ID (like
MathLib), then you have more work to do. You'll have to make your app copy
the shared library from the card when it gets a card launch. I'm not sure
how to arrange for the shared library to be deleted in this case, but I'm
sure you'll think of something!
--
Danny Epstein
OS Engineer, Palm Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/