When I run my group project in FinalBuilder 7 some projects can create a .res file, but a few seconds after, Windows delete this .res file. And I think that .res file is necessary to build a XML file and that give me a error. Projects that can create the .res file without Windows delete them the FinalBuilder can build, but in most of the cases the Windows delete these files. Or the FinalBuilder can’t create the XML file in the projects folder because Windows delete these new files (.res and .xml).
Error:
Creating D:\Prog\cde_win\sources\devel\delphi\Projects\cde-win\folder_of_the_project\project\project_example.RES D:\Prog\cde_win\sources\devel\delphi\Projects\cde-win\folder_of_the_project\project\project_example.rc(5) : error RC2135 : file not found: D:\Prog\cde_win\sources\devel\delphi\Projects\cde-win<pre style=“color: #000000; background: #f4f4f4;”>folder_of_the_project\project\project_exampleManifest.xml Using codepage 1252 as default
Complementing, projects that FinalBuilder could build, the file with extension .rc inside the folder project not contains the line “Include manifest xml for XP/Vista” and a file path to the .xml file. How can I take away this from the projects in FinalBuilder? When I built these group projects he add that line in some .rc files.
The manifest file your referring to defines the resources used by your application, as well as other things like theming, and privileges.
The Build Delphi action allows the definition of the manifest file to use. This is located in the Resource Compiler tab (the most right tab, typically located off screen when the action is opened), there is a Manifest section. This is where to specify the Manifest File to use when building the project.
There are two ways to specify this file. One is to enter the manifest file location manually, the other is to use the “From Project File…” button on the main project tab for the action. From the drop down select “Regenerate Manifest File”.
Note that the “Regenerate Manifest File” option will only work if runtime themes are enabled on the project and it has been compiled at least once in the IDE. FinalBuilder extracts the manifest from the project.res file which is generated by the IDE.
By default Delphi inserts the same Manifest into the res file for every application. The simple solution is to just save a copy of this Manifest somewhere and point all the FinalBuilder projects to the same file. Here we store our manifest files in version control rather than relying on it being available via the res file. This also allows customisation of the Manifest file to occur when required.