Dave's probably using the version in base 10, not base 16.  :-)

534 == 512 + 22 == dmErrorClass + 22 == dmErrAlreadyOpenForWrites.

-- Keith






"Alan Johnson" <[EMAIL PROTECTED]> on 06/28/99 02:02:37 PM

Please respond to [EMAIL PROTECTED]

Sent by:  "Alan Johnson" <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:    (Keith Rollin/HQ/3Com)
Subject:  RE: DmOpenDatabase error




hmmm.. my 3.0 header says that:
#define   dmErrResourceNotFound          (dmErrorClass | 16)

while the one you refer to is
#define   dmErrAlreadyOpenForWrites           (dmErrorClass | 22)

Which OS version of DataMgr.h are you looking at?

Thanks.
--Alan

> -----Original Message-----
> From: Dave Lippincott [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 28, 1999 3:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: DmOpenDatabase error
>
>
> a 534 error is dmErrAlreadyOpenForWrites
> I guess the DB is already open, maybe you forgot to close it and now you
> can't re-open it for writing again.
>
> -----Original Message-----
> From: Alan Johnson <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Monday, June 28, 1999 4:04 PM
> Subject: DmOpenDatabase error
>
>
> >I am creating 2 databases. I call the following pseudocode:
> >
> >dbID = DmFindDatabase()
> >if dbID == 0
> > DmCreateDatabase() <--- this is successful
> > DmFindDatabase() <--- this returns a dbID
> >end if
> >DmOpenDatabase() <--- using the dbID returned above, this
> returns err = 534
> >
> >Decimal 534 should be x216 which according to the headers is the database
> >could not be opened because it could not be found. Anyone know
> why it can't
> >be found when it just found it?
> >
> >Things that make you go hmmmmmmmm.
> >
> >--Alan
> >
> >
>
>
>
>







Reply via email to