I'm not sure you can do it from the database alone, but you should be able to tell from a record in the database.
If you have a handle (or pointer) to a record in the database you can call MemHandleHeapID (or MemPtrHeapID) to retrieve the heap id in which the record resides. You can then pass that heap id to MemHeapFlags and check if the return value has the bit memHeapFlagReadOnly set - if so it's in ROM. Of course there may be a simpler way... Gavin. Alex Tsai <[EMAIL PROTECTED]> wrote in message news:102505@palm-dev-forum... > > How can I know the database is store in ROM or RAM ? > > I can not find an API to do so... > How can I know ? > > -- > > Alex > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
