At 05:00 PM 10/31/2005, you wrote:
I´m not trying to copy a database to a card.
What I´m trying to do is rather acces the .prc of the application that is
currently executing, and do a crc.
But to do that, I need to access the .prc file and be able to read every
single byte of the file. I was able to get the name of the current
running application, but now, I don´t know how to read the file starting
from the very first byte. Using FileRead() macro seems not to work.
The application isn't stored in memory as a .prc file. That's just a
serialized form of the application database. The app DB is a collection of
resources, each tagged with a four-byte resource type and a 16-bit ID.
-- Ben Combee, Senior Software Engineer, Palm, Inc.
"Combee on Palm OS" weblog: http://palmos.combee.net/
Developer Forum Archives: http://news.palmos.com/read/all_forums/
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/