At 20:00 2003-1-20 +1300, you wrote:
Hey Everyone,Does anyone here know how the version and icon data is stored in a PRC file?
Yes.
Nope.I'm assuming its buried in the appInfo block, but I've been unable to find any specific information about this.
The version info is stored in two places. You already mentioned the database version number, but the version shown in the launcher is stored in a 'tver' 1000 resource.
The application icon is stored in 'tAIB' 1000 and 1001 resources. 1000 has the large icon, while 1001 holds the small icon used in the list view.
Finally, the name string shown in the launcher is stored in a 'tAIN' resource with ID 1000 as a NUL-terminated string.
You can see all this by examining a PRC file using a tool like PRC Explorer, or by reading the Palm OS header files.
The AppInfo block is not used by anything in the operating system -- the whole block is available for your own use.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
