Does anybody know what this error means, produced in the debugger? (CW6)
I'm trying to execute the following command:
CurrentDB = DmOpenDatabase(CurrentDBCardNo, CurrentDBID,
CurrentDBOpenMode);
The cardno and dbid vars are set based on values returned from a prior
DmGetNextDatabaseByTypeCreator() call in a different function, and any
previous open database _is_ closed. The odd thing is that I'm able to
successfully open (exclusively) about two or three databases before the
program ever gets to this point, using a different function. But when I get
here I get a Fatal Error on the handheld, and the above error in the
debugger. The reference documentation says that a fatal error might be
produced if the database argument is invalid. But even if I call the
function that worked previously, which iterates using
DmGetNextDatabaseByTypeCreator() and passes the values to DmOpenDatabase() -
I _still_ get the error.
So - can anybody shed some light on this? TIA!
DP
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/