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

well, it'll prevent the database from being deleted. if you want to store
stuff there (read only), its a good alternative. back in the old days, if
you had a system hack (patching traps), you had to call this to prevent 
someone removing yourself :)

instead of writing to a database, why not use an unused area of the
display controller? there are a few devices out there that are read/write 
and have at least 40-50k free :) 

---
Aaron Ardiri
PalmOS Certified Developer
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php


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

Reply via email to