Danny, Thank you very much for the information you have provided! I am using the ROM (in Poser) I downloaded off of the real PalmV device, so that is why I am a bit confused by the results. I use Palm Macros to set up the application version. The reason I want to programmatically set the 'tver' resource is to ensure that if I forget to update the string in the Constructor, the correct one still shows up under the Info menu. I believe that it is a nice way to control the application version string from only one place in my project, the source code. Thank you again for your time,
Sincerely, sasha ------------------------------------------ Sasha Avanesov Software Engineer [EMAIL PROTECTED] Digital Control Systems, Inc. http://www.dcs-inc.net Phone: 503-246-8110 Fax: 503-246-6747 "Danny Epstein" <[EMAIL PROTECTED]> wrote in message news:82838@palm-dev-forum... > > > I set the application version string programmatically, i.e. get the 'tver' > > resource, modify it, etc. > > Can you explain why you want to do this? > > > what is buffling is that under the launcher's > > "Info" menu, the Emulator shows the desired string [that I program], but > the > > real device does not, and still shows the string set in the constructor. > > It could be a cache issue, but IIRC, the launcher only caches the version > info for a single session. > > > could this be the result of resource "1" and "1000" both being present? > > It's a possibility. Use Insider or some other on-board database viewer to > see what's happening. > > > to modify the 'tver' resource, I have to re-open > > the application database with Read/Write flags. should I close it when I > am > > done... > > Yes. > > > I am not sure if the call to close the application database matches > > only the recent call to open it and restores the previous settings... in > > the manner of Lock/Unlock for handles... > > Yes, exactly. The system maintains a list of DmOpenRefs. The same database > can appear more than once in that list, although only one can have write > access. (I won't go into exclusive mode here). > > Whenever you see different behavior on Poser than you do on a real device, > there are two possible explanations. One is that the emulator isn't being > "faithful" to the actual hardware. The other, more likely, explanation is > that you're using a different ROM. Most developers use debug ROMs in Poser > and release ROMs on real devices. We don't support developers flashing ROMs > onto their devices, but we do support developers downloading their device > ROMs for use with Poser. > -- > Danny @ PalmSource > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
