At 5:02 PM -0800 4/5/02, Sasha Avanesov wrote:
>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.

Sasha,

Why not do it the other way around -- have the one place where you 
maintain the version number be the resource and not the source code? 
The way I see it, in order for the Info dialog to show the correct 
version string, the string would have to first be updated by your 
application, which means that the version string is incorrect until 
you run your application for the first time.

-- Keith

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

Reply via email to