Recent

Author Topic: Conflict when using project version info and appl. icon  (Read 6010 times)

mrBrown

  • New Member
  • *
  • Posts: 15
Conflict when using project version info and appl. icon
« on: December 18, 2008, 09:38:30 pm »
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=1172
So 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]

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Conflict when using project version info and appl. icon
« Reply #1 on: December 20, 2008, 04:13:24 am »
Quote
I would happily leave an example application if I can upload it somewhere
Bug tracker ?

 

TinyPortal © 2005-2018