UInt16 cardNo;
LocalID dbID;
Char dbName [dmDBNameLength];
SysCurAppDatabase (&cardNo, &dbID);
DmDatabaseInfo (cardNo, dbID, dbName, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL);
// Now dbName holds the database name of the currently running application.Regards, Vesselin -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
