My C++ project file keeps increasing in size and the time it takes to load the project keeps getting longer.

Abstract: My C++ project file keeps increasing in size and the time it takes to load the project keeps getting longer.

The issue is this, the project manager does not appear to be parsing the include directories correctly. If any of the directory names contain spaces the project manager adds a *new* set of include directories to the idl2cpp entry in the .bdsproj file, this happens each time you modify ANY option in the project options or add a new file to project, this causes, exponential growth and slowing down in loading times of that particular project.

To workaround the issue, please follow these steps:

1)������ Open your .bdsproj files in a text editor.

2)������ remove all lines idl2cpp lines like where XXXX is a numerical value.

<property category="win32.*.win32b.idl2cpp" name="option.I.arg.XXXX" value="..\My new application"/>

3)������ Then set the following property?s value to zero as I have done below:

<property category="win32.*.win32b.idl2cpp" name="option.I.arg.merge" value="0"/>

4)������ Save the .bdsproj file.

5)������ Now it should be possible to open the project file and you will see no growth of the file.


Author: Roy Nelson