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.
Invalid pointer operation
-
- Posts: 13
- Joined: Sat Aug 20, 2011 9:46 am
Re: Invalid pointer operation
shayanjameel08 wrote:You should check for
if FileExists(OpenDialog1.Files) then begin
instead of
if FileExists(OpenDialog1.FileName) then begin
Better invest in a local variable holding that value.
I don't understand you. what's the point with the savedialog or opendialog when XLSReadWriteII crashes when you write the file and try some other manipulations. you can't close the form (action := caFree;). you can't execute XLS.clear; or other commands.
please, read before post somethink.
Re: Invalid pointer operation
Hello
I can't reproduce this. Please try the latest update of the componet.
shayanjameel08 is a moron that is kicked out now. Sorry for any inconvenience he caused.
I can't reproduce this. Please try the latest update of the componet.
shayanjameel08 is a moron that is kicked out now. Sorry for any inconvenience he caused.
Lars Arvidsson, Axolot Data