[solved] can't compile after project's options changes lazarus / 13-General ---------------------------------------------------------------------- seb · 2006-10-12 15:14 Hi, I changed some options in my projet (Project>Project Options>version Info>Include Version infos). Since I made these changes I can't compile my project, Output Messages says : Error: Unable to open file "project1.res". What can I do to bypass this ? Thanks for ideas, ---------------------------------------------------------------------- Phil · 2006-10-12 17:20 Quote from: "seb"Hi, Since I made these changes I can't compile my project, Output Messages says : Error: Unable to open file "project1.res". Yes, I noticed that if I checked the Include Version Info box that Laz would no longer compile my project. Since the Version Info tab is new, I assumed that it hadn't been debugged thoroughly yet. For now I'm just creating an external .rc file manually and converting it to .res manually. I assume that when you check this box that Laz would run the windres.exe utility to create the .res file from the version info stored in the .lpi file. Maybe it's not finding this utility? (should give error, though, if that's the case). Also, it would be nice if we could enter info for other keys besides the ones supported here. In Delphi, you can just right click in the Key column and choose Add Key to add your own keys to the version info. This and the value you enter for the key is stored in the version info resource in the .exe file and accessible just like the standard keys such as CompanyName, ProductVersion, etc.. A great way of putting additional useful info into your .exe in addition to the standard Microsoft keys. ---------------------------------------------------------------------- seb · 2006-10-13 07:14 Thanks for your response Phil, the trick was to remove {$R project1.res} in the project source file. Have a good day,