I am getting runtime error on one of the machine. I have test my application on hundred of machine but not getting any kind of error. error window is shown below.
when crash the application shows error windows,
and if i click on clickhere link it shows below image.
and if I debug the code then it shows below image.
I don't know it is problem in my code or any problem in OS installation please help me. because my application runs everywhere and on all OS but getting error in only one of the computer.
code is given below:
rem->m_operationInProgress = false;
delete rem; // from where error occur.
printf("after deleted.."); //this is not execute.
and destructor is:
test::~test()
{
printf("\n Enter in destructor.. ");
//
// m_isRunning = false;
// Sleep(1000);
// //-------------------------------------------- 1_4_2012
// printf("\nCalling m_dataCollection->shutDown()");
//// printf("\n****calling m_connect.shutDown();****");
// printf("\nRPA :: 11....");
// m_connect.shutDown();
// printf("\nRPA :: 12....");
// //printf("\n****after m_connect.shutDown();****");
// printf("\nRPA :: 13....");
// if(m_device != NULL)
// {
// //printf("\n****before delete m_device;****");
// printf("\nRPA :: 14....");
// delete m_device;
// printf("\nRPA :: 15....");
// //printf("\n****after delete m_device;****");
// }
printf("\n Exited from destructor.. "); // this is also print on console.
}
it successfully execute both print f then crashed.