On Thu, Jun 10, 2004 at 03:27:37PM -0700, Mike wrote:
> dbID = DmFindDatabase (0,DBName);
> if(dbID)
> { // we found it
> hTempDB = DmOpenDatabase (0,dbID, mode);
[...]
> E:0216,
[...]
> How can DmFindDatabase return a valid ID, but DmOpenDatabase not be able to
> find it?
You don't say what _mode_ is, but, due to the fact that 0x0216 is
dmErrAlreadyOpenForWrites, you can probably guess what's going on.
See also http://prc-tools.sourceforge.net/errorcodes.html -- a new
build of which I must get around to releasing one of these days.
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/