RavenMaster
Programmer
Hi,
i made a DLL with a number of routines. Among the variables is ( Var Lines : TStringList ).
I make the stringlist and pass it to the procedure, the procedure does it's thing then the Lines.Text gets the correct data. I've checked that. The problem now is this : i try to free the TStringList object like this : Lines.Free
This results in a invalid pointer operation address FFFFFF
I tryed the same with the a regular unit then it works, but when i use the DLL ( same routine ) then i get this error.
Any idea's what might be causing this ?
Since i can access the Text property correctly after processing by the routine in the DLL i assume that the pointer to the object is still correct,.. so what could it be ???
Help Plz.
Thx
i made a DLL with a number of routines. Among the variables is ( Var Lines : TStringList ).
I make the stringlist and pass it to the procedure, the procedure does it's thing then the Lines.Text gets the correct data. I've checked that. The problem now is this : i try to free the TStringList object like this : Lines.Free
This results in a invalid pointer operation address FFFFFF
I tryed the same with the a regular unit then it works, but when i use the DLL ( same routine ) then i get this error.
Any idea's what might be causing this ?
Since i can access the Text property correctly after processing by the routine in the DLL i assume that the pointer to the object is still correct,.. so what could it be ???
Help Plz.
Thx