>I am wondering if it's a bad idea to cache a handle to a bitmap resource,
>even after the DB is closed, for read-only use.

Yes, unless you've protected the database against someone else messing with
it.  Otherwise the user could go delete the database and you'd have a bad
handle.

And if you're putting it into a prefs record or something, what happens if
that prefs record gets restored onto a new device where the handle is
completely wrong?  (You might not be doing this, but it illustrates the
problem for others who might try it...)

-David Fedor
Palm Developer Support


Reply via email to