Hi,
Thanks for the answer!
I've tried your suggestion, but it didn't work.
Here is my code:
var
a1 , a2: TObject;
begin
a1 := TObject.Create;
a2 := a1;
FreeAndNil(a1);
if Assigned(a2) then
ShowMessage('Error!')
else
ShowMessage('OK');
end;
I gave the 'Error!' message...
Hi,
I have two object variables (a1, a2: TObject)
referencing to the same object instance.
There is a chance in the program flow
(depends on a condition)
when the object instance has to destroyed (FreeAndNil(a1)).
Later how can I test the a2 variable,
whether it references a valid object...
hi,
I have to develop an application containing
a grid, which acts like an OLAP grid, but based on relational data.
Does anybody know that the cross-tab report or the OLAP report of the CR 9 is suitable for the task?
(I only saw the CR 7, but it isn't good for me.)
thanks,
rbow
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.