C++ Builder 10.2 - main project cpp file corruption?
I have some custom code in the beginning of
int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
function in the main project cpp file. When adding a new form to a project all my custom code in that function is deleted and a new code is generated with additional Application->CreateForm.. Is this a bug?