a reset fixes the problem, so it seems to me that maybe either the "Info"
menu does not query the 'tver' resource every time, but rather only at a
reset, or somehow the application database does not get updated properly
after modification and it takes a reset to kick things into a known state.
this sounds loose, but I have not thought trhough it yet.  this post is only
a fact-provider for the curious ones who also want to know what is going on
in a situation like this.  if no one is interested, I will respectfully stop
posting on this matter.

Sincerely,
sasha


"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/

Reply via email to