Attributes is a bunch of flags, so after your DmDatabaseInfo do a bitwise
OR to check the value of the dmHdrAttrOpen bit, e.g.:

if(attributes | dmHdrAttrOpen)
{
   // Something to do if db is open.
}

  -P

-----Original Message-----
From: David Rutgos [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 24, 2000 12:12 AM
To: Palm Developer Forum
Subject: DmDatabaseInfo


After running DmDatabaseInfo(0, dbID, NULL, &attributes, NULL ....etc);

how do I check attributes to see if the database is open?

Thanks!



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to