Using both automatic version info and including windows application icon results in a confilict which causes the icon to be lost.
The case is as follows:
I'm developing an application for windows.
I have added an application icon by creating a .res file with the icon and linking it to the application using {$R *.res}. (see thread
http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=1172So far so good.
But when I turn on the option to include the version info in the executable (Project -> Project Options -> Version Info ->
- Include version info in executable) things go wrong.
During the compilation I will get an "windres waring 16:1:1033: duplicate value", the .res file gets overwritten and the application icon is gone.
I do not require a fix, I'll just manually keep track of the version number. But maybee this is something for the bug-list. I would happily leave an example application if I can upload it somewhere.[/url]