Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question