F
F
FX-Mercury2016-05-01 16:58:46
C++ / C#
FX-Mercury, 2016-05-01 16:58:46

C++ Bulder keeps updating project file, how to disable?

I am using C++Builder XE.
When I add a new form to the project, the project file is updated, and everything that I wrote there is overwritten.
You have to re-write everything.
There is no such thing in Delphi.
How to turn it off?

#include <vcl.h>
#pragma hdrstop
#include <tchar.h>
//---------------------------------------------------------------------------
USEFORM("src\forms\main.cpp", FrmMain);
USEFORM("src\forms\service\auth.cpp", FrmAuth);
USEFORM("src\data module\datamodule.cpp", DataModule1); /* TDataModule: File Type */
//---------------------------------------------------------------------------
WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
    try
    {
         Application->Initialize();
         Application->CreateForm(__classid(TFrmAuth), &FrmAuth);
         Application->CreateForm(__classid(TDataModule1), &DataModule1);
         Application->Run();
    }
    catch (Exception &exception)
    {
         Application->ShowException(&exception);
    }
    catch (...)
    {
         try
         {
             throw Exception("");
         }
         catch (Exception &exception)
         {
             Application->ShowException(&exception);
         }
    }
    return 0;
}
//---------------------------------------------------------------------------

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MgmZog, 2016-05-01
@MgmZog

Obviously, it is assumed that it is not necessary to write into it with pens.
PS. I thought the flight attendants were already buried.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question