Aww crap. I feel dumb.  I looked up the "16" in datamgr.h and found
dmErrResourceNotFound not realizing the error list is listed in decimal not
hex like what I am displaying in the error message. Duh.

Thanks!
-Mike



"John Marshall" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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/

Reply via email to