I looked up error code 534 in the handy-dandy Errlist.txt file (which hasn't
failed me yet)  Sorry if I was using the wrong base.

>> >Decimal 534 should be x216 which according to the headers is the
database
Error 534 (0x216) is listed as dmErrAlreadyOpenForWrites in ErrList.txt and
0x216 in DataMgr.h (3.0) is also dmErrAlreadyOpenForWrites.

DataMgr.h list dmErrorClass as 0x200 and the actual errors in decimal (my
understanding since the error codes are index from 1 to 27 and not 1 to 16)
so an error 534 is 0x200 + 0x16 = 0x216 or 534 decimal.   (as Keith pointed
out)

Dave

-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, June 28, 1999 5:11 PM
Subject: RE: DmOpenDatabase error


>
>
>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