Please show us a code fragment that has the declarations for all of
the arguments, and then the calls to, MLGetUserDatabase and
MLGetChaptersDatabase. I am wondering if you are overwriting
something. The DmOpenRef db needs to persist while your program has
the database open.
And here's a (rhetorical) question about your two wrapper functions
(MLGet...Database): what is the value of db in the case where
DmFindDatabase returns NULL?
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/