Scott... you da man :)
The clue that turned it for me was your suggestion that I look at the
launcher's info. Should have tried that before but didn't think of it.. my
bad. The launcher was showing the correct version. Therefore, I switched to
check for tver resource 1 first then 1000 if none found.
Turns out tver resource 1 contains the valid string. 1000 continues to
return an empty string. Interesting but problem solved.
Thanks much.
--Alan
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Scott
> Johnson (Bellevue)
> Sent: Monday, August 21, 2000 10:25 PM
> To: Palm Developer Forum
> Subject: RE: including .r files in CW r5 for Win
>
>
> > From: P. Alan Johnson [mailto:[EMAIL PROTECTED]]
> > I create a .r text file and name it "foo.r". The .r file type is
> > mapped correctly. I put the following 2 lines into "foo.r":
> > data 'tver' (1) { "1.0.1" $"00" };
> > data 'tver' (1000) { "1.0.1" $"00" };
>
> Sounds good so far, though the ID=1000 one shouldn't be needed.
>
> > The code I use to read the 'tver' resource is:
> > versionH = DmGet1Resource(verRsc, appVersionAlternateID);
>
> Consider using DmGetResource (no "1"). It will work even if
> there's a more
> recently opened resource DB that you don't know about. However, in this
> case it doesn't seem to be a problem since one of your
> DmGet1Resource calls
> seems to be finding something.
>
> > Appreciate any enlightened ideas.
>
> 1. See if there are any linker warnings about duplicated resources.
>
> 2. Use a tool like Insider or Par to see exactly what resources are ending
> up in your application.
>
> 3. Look in the system launcher Info dialog. Does your version
> string appear
> correctly there?
>
> -slj-
>
>
> --
> For information on using the Palm Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/