Thanks for the info.  The documentation states:

"This routine can be used to prevent a database from being deleted (by
passing true for the protect parameter). It increments the protect count if
protect is true and decrements it if protect is false."

 Is there a way I can determine the current protect count for the desired
database?

Kirk

Danny Epstein <[EMAIL PROTECTED]> wrote in message
news:10467@palm-dev-forum...
>
> "Kirk Dybvik" <[EMAIL PROTECTED]> wrote in message
> news:10313@palm-dev-forum...
> > I want to prevent a user from being able to delete a database from the
> > device.
>
> Try DmDatabaseProtect. This will cause the user to get an error if he
tries
> to delete the database. You'll have to reprotect after a reset. The user
can
> delete protected databases by doing a no-notify reset. See the
documentation
> for more details.
>
>
> http://www.palm.com/devzone/docs/palmos/DataAndResourceManager.html#609422
>
> --
> Danny Epstein
> OS Engineer, Palm Inc.
>
>
>



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