Yes, it is possible to have two databases with the same name, one in RAM and one in ROM. However, you have to be careful when using DmFindDatabase, because, I believe, the id of the one in ROM will be returned. You have to use DmGetNextDatabaseByTypeCreator, and iterate through to find the one you want. Although, it sounds like from what you're trying to do, that won't be an issue. =)
-Jon -------------------------------------------- Jonathan Hays Palm OS Certified Developer http://hazelware.luggle.com -------------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of M Wasson Sent: Tuesday, April 13, 2004 6:34 AM To: Palm Developer Forum Subject: Re: prc Can you copy a file in ROM to RAM? Would you have to rename the file? "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 01:52 PM 4/12/2004, you wrote: > >Steve, thanks. I just tried it, but I could not copy the *built-in* PRCs, > >that are in ROM. Is there any way to do that with Filez ? Or with other tool > > You can use FileZ to copy the PRC files to a SD card or other expansion > media, and then read that on your PC using a card reader. You can't use > FileZ to set the backup bit for databases in ROM, since it can't change > read-only memory. > > > -- Ben Combee, senior DTS engineer, PalmSource, Inc. > Read "Combee on Palm OS" at http://palmos.combee.net/ > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
