Richard Burmeister wrote in message <34299@palm-dev-forum>...
>
>From: "Aaron Ardiri" <[EMAIL PROTECTED]>
>>
>> what if you define
>> two version types? which one does it use?
>>
>> VERSION ID 1 "first"
>> VERSION ID 1000 "second"
>>
>> it will create two resources ::)) (in pilrc)
>>
>
>Ditto for Constructor (using an .r file to define the one with ID==1). And
>the Launcher returns the first one. So, it must be looking for a tver with
>ID==1 first, then if it can't find that, it looks for a tver with ID==1000.
>
>
>
>
Is the same true for other "standard" app resources, such as the icon?
Do you have to look for both 1 and 1000? AFAIK, the standard for the
icon resource is 1000 (1001 for small). A tver of 1000 just seems
to be consistant with that. Dunno why the GNU tools chose 1, but
since CW is the "official" environment I tend to favor using 1000
(well, and I don't have to remember to change it to 1 either <g>).
btw: on the GetResource/Get1Resource issue I favor Get1Resource
since it ensures that the resource you get is from the top-most opened
database and not one further down the chain ... opinons?
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/