Dear Rooters,
With ROOT 5.26 the next problem arose. When the code using ROOT GUI started from the Visual Studio 2008 after it’s finish the CMD screen (ROOT sesson) is not deleted. Moreover it could not be closed from the Windows Task Manager and it prevents to the system rebooting. The main code is usual and it worked with the previous ROOT versions.
#include <TApplication.h>
#include <TGClient.h>
#include “GS2d_MainFrame.h”
#include “GSA_Parm.h”
#include “GS_Calibration.h”
Parm P;
GS_Calibration calib;
ofstream eout(“RMatr.err”);
int main(int argc, char **argv)
{
TApplication theApp(“theApp”, &argc, argv);
gSystem->Load(“libRIO.dll”);
gSystem->Load(“libHist.dll”);
GS2d_MainFrame theMainFrame(gClient->GetRoot()
,gClient->GetDisplayWidth()
,gClient->GetDisplayHeight()-50);
theApp.Run();
return 0;
}
Thanks in advance.
Andrey