, 2004 9:41 PM
To: Palm Developer Forum
Subject: Re: checking if DB is in ROM
somehow i thought it would be easier to find the answer from docs. but i
couldnt too :( but searched in the forum, as i felt sure this question
must've been asked earlier..
check out Aaron's
answer..http://news.palmos.com
On Fri, Jun 25, 2004 at 11:29:21AM -0400, Alexander R. Pruss wrote:
This may be a really dumb question, but how do I check if a DB is in ROM?
Convert the database's LocalID to a locked pointer with
MemLocalIDToLockedPtr(), get the pointer's heap ID with MemPtrHeapID(),
get the heap flags for the
This may be a really dumb question, but how do I check if a DB is in ROM?
Convert the database's LocalID to a locked pointer with
MemLocalIDToLockedPtr(), get the pointer's heap ID with MemPtrHeapID(),
get the heap flags for the heap ID with MemHeapFlags(). If the
memHeapFlagReadOnly bit is
Ooops! nevermind about my last post, i didn't read right.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
somehow i thought it would be easier to find the answer from docs. but
i couldnt too :(
but searched in the forum, as i felt sure this question must've been
asked earlier..
check out Aaron's answer..http://news.palmos.com/read/messages?id=152622#152622
Cheers,
Prakash
On Fri, 25 Jun 2004