thanks for the help Russell, my app is very small and I don't expect it to approach the 64k limit, so the first option should work. I'll give it a try.
BTW, this seems like something that alot of people would want. I'm surprised there isn't some type of 3rd party library for this. Do you know of any. "Russell Cagle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You can call DmCreateDatabaseFromImage(). The problem with that function > is you need the entire PRC file in one contiguous piece of memory, which > isn't always easy to do. If the PRC is larger than 64k, you can allocate > feature memory with FtrPtrNew(), and if you only support OS 5 devices then > you can allocate more than 64k, I think. If you can depend on having an > SD card, I would recommend writing the PRC to a file and calling > VFSImportDatabaseFromFile(). Finally, the PRC database format is very > simple, just a header and a bunch of indexes, and you can parse it > yourself if none of these solutions work for you. Google "PRC file > format". > > Russell Cagle > Handheld Developer, Partner Software > > Larry wrote: >> how does the newly downloaded PRC get imported/inserted into the device's >> application storage? >> >> Can the downloaded PRC file be directly inserted into a resource database >> or do I have to "parse" it and write the pieces individually? >> Can you point me to any code samples or documentation? >> >> thanks >> >> > > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
