> > > I suspect there are any number of things an 
> > > application could do to make that reference invalid.
> > 
> > One real simple action to make it invalid is for another application to 
> > close the open database. If you can guarantee that no other app will mess 
> > with that particular database, you are probably okay.
> 
> DmProtectDatabase()

If you mean DmDatabaseProtect (), I do not believe it will do what you are suggesting.

"This routine can be used to prevent a database from being deleted..."

"Use this function if you want to keep a particular record or resource
in a database locked down but don�t want to keep the database
open."

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

Reply via email to