PDA

View Full Version : Automatic insert current year in version resource



NewsArchive
12-27-2017, 04:17 AM
Hi,

In SB > Genereral Information > Version Resource > Copyright field I
would like to insert current year (at compile time).

Is this possible ?

TIA
/Poul

NewsArchive
01-08-2018, 11:52 AM
Hi Poul,

I have created a demo project for you:

http://www.lindersoft.com/projects/CurrYearVerRes.zip

The compiler executes a batch file which writes the current year into a text
file. The compiler reads the year from the text file and uses the value in
the version resource.

Does this help?

Friedrich

NewsArchive
01-09-2018, 10:20 AM
Hi Friedrich,

Sure helps - what a clever method :-)

Cheers
/Poul