I have a C++Builder (XE6) project containing multiple Vcl forms. Only one of them is listed as auto-create on Project>Options>Forms, I create the rest using new as and when needed.
The problem is that every so often, C++Builder will insert a load of lines like:
USEFORM("TMainForm.cpp", mainForm);
into the file with my WinMain method. It will also occasionally shift around the order of these lines.
This leads to the version control history for that file being mostly full of garbage. So is there a way to prevent it inserting the USEFORM macro?