Hey gang, I just found this curiosity in <SystemMgr.rh> -
#define sysFileTTemp 'temp'
// Temporary database type; in future versions
// of PalmOS (although likely not in 3.0), the
// system may automatically delete any db's of
// this type at reset time (however, apps are still
// responsible for deleting the ones they create
// before exiting to protect valuable storage space)
Doesn't do anything in 3.0 or 3.1 but will it be in 3.2? My app
currently has one database that it wipes out during reset and rebuilds
at next startup, and this 'temp' db type would be perfect for that.
This would even plug a sort of hole in the system -- currently you can't
even call DmDeleteDatabase during a reset launch code because it screws
up the launch code broadcast loop itself, causing a crash. (At least it
did for me in 3.0.) So my wipeout code must call DmRemoveResource on
all the individual records, which is bigger and slower.
-slj-