Invalid pointer operation
Posted: Thu Oct 24, 2013 7:51 am
Hi,
now i'm testing this component for Delphi xe4.
i'm receiving this error in two cases.
doping the component on the form. changing the name to XLS.
XLS.clear;
XLS[0].Name := 'Sheet1';
XLS.FileName := SaveDialog1.FileName;
XLS.Write;
and if I execute second time XLS.clear; or try to close the form, the result is "Invalid pointer operation".
this leads to other problem like can't exit the application and other problems if using modal forms.
now i'm testing this component for Delphi xe4.
i'm receiving this error in two cases.
doping the component on the form. changing the name to XLS.
XLS.clear;
XLS[0].Name := 'Sheet1';
XLS.FileName := SaveDialog1.FileName;
XLS.Write;
and if I execute second time XLS.clear; or try to close the form, the result is "Invalid pointer operation".
this leads to other problem like can't exit the application and other problems if using modal forms.