Stark
2012-06-24 17:25:04 UTC
I get the error message on this line of the FormClose:
BudgetsList.Free;
This is an TObjectList which is so declared (together with the TMonthly
class whose instances then are added to the list):
var
BudgetsList: TObjectList;
oMonthly: TMonthly;
It is used as follows::
BudgetsList:= TObjectList.Create(true);
do while ....
oMonthly:= TMonthly.Create(...);
BudgetsList.Add(oMonthly);
end;
As soon as I close the form I get the Invalid pointer operation error; I
insist in closing the form and after two or three attempts it closes.Any
idea ?
BudgetsList.Free;
This is an TObjectList which is so declared (together with the TMonthly
class whose instances then are added to the list):
var
BudgetsList: TObjectList;
oMonthly: TMonthly;
It is used as follows::
BudgetsList:= TObjectList.Create(true);
do while ....
oMonthly:= TMonthly.Create(...);
BudgetsList.Add(oMonthly);
end;
As soon as I close the form I get the Invalid pointer operation error; I
insist in closing the form and after two or three attempts it closes.Any
idea ?