At 12:00am -0800 00-12-31, Palm Developer Forum digest wrote:
>Subject: Re: application version string
>From: Aaron Ardiri <[EMAIL PROTECTED]>
>Date: Sat, 30 Dec 2000 20:23:17 +0100 (MET)
>X-Message-Number: 16
>
>  > > >   nice consistancy
>  > >
>  > > Absolutely. :-)
>
>   david fedor: whats palm's official stance on this? 1 or 1000? :)
>
>  > > >maybe it is best to use DmGetResource() instead of DmGet1Resource()?
>  > >
>  > > Long ago, and far away, I believe I tried using DmGet1Resource and it
>  > > didn't always find the resource. So I switched to DmGetResource. Of
>  > > course, I could be thinking of something else too...
>  >
>  > Since the launcher doesn't keep all the applications open, I'd 
>guess that it
>  > would use the DmFindResourceType() call with 'tver' as its type, 
>and stop if
>  > anything was found, therefore favoring lower indices of version resources.
>
>   yeah.. that would be how it works.. you could make it 2, 3, 4, etc :)
>
>   so, in response to the original question.. best way is to use
>   DmFindResourceType() function :) instead of DmGet1Resource() or
>   DmGetResource()

Use DmGetResource. There's no reason to use to DmFindResourceType, 
and it won't work correctly with overlays unless you put in a fair 
amount of extra effort.

-- Ken

Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to