From: "Danny Epstein" <[EMAIL PROTECTED]> > > You can set the version in constuctor and in the linker settings. > > I manually change the one I set with the linker but can't figure > > out how to change the one in the constuctor. > > See this post for a description of the two different "versions" a Palm OS > application has: > > http://www.escribe.com/computing/pcpqa/m47007.html > I'm highjacking this thread to ask a slightly different question: How do I change both version numbers programmatically?
There are a million messages explaining how to set the tver 1 and 1000 resources but I can't find any information on how to change the PalmRez version *programmatically*. I want to automate the build process but currently it looks like the database of every prc will have the same version number in it. The CodeWarrior scripting interface doesn't seem to be the answer because (as I understand it) PalmRez isn't a native CodeWarrior tool so the PalmRez panel isn't supported by the CW object model. The only thing that seems to come close is the Text Description Files box in the PalmRez settings panel which: lets you specify the name of a resource descriptor file (.r file) that describes Palm OS resources. but the documentation suggests that this is just another way to connect your project's resource files. There's also: DropRSR is aMac OS utility that converts the .rsrc files found within a Resource.Frk folder into .RSR files that are suitable for the PalmRez Postlinker and Constructor for Palm OS. DropRSR is located at: CodeWarrior:Other Metrowerks Tools:DropRSR 1.1 on p124 of Targeting PalmOS but that tool isn't in the indicated folder on my installation (optional file? old info?). Alternatively, is it a problem if the prc database version number (set using the PalmRez settings) panel is the same for all prc's? Chris Tutty -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
