I am using CB 10.4.2 VCL 64bit for Windows 10. I am using AdvStringGrid 8.6.2.1. I am creating an AdvStringGrid with std::auto_ptr. When I assign the ASG named "ASG_Temp" to the component AdvGridExcelIO I get the error: no viable conversion from 'std::auto_ptr' to 'Advgrid::TAdvStringGrid *'
Is it possible to use std::auto_ptr and AdvGridExcelIO?
std::auto_ptr"<"TAdvStringGrid">" ASG_Temp( new TAdvStringGrid( MainForm ) );
ASG_Temp->Parent = MainForm;
ASG_Temp->Visible = false;
ASG_Temp->Name="ASG_Temp";
ASG_Temp->ClearAll();
ASG_Temp->RowCount = 5;
MainForm->AdvGridExcelIO->AdvStringGrid = ASG_Temp; //ERROR HERE