>I would first check if the variable really goes out of scope. It's very common that the variable is not declared as LOCAL and stays in the memory. Also, if you are storing object reference of the other objects/bizobj into a property of this bizobj, it might stay in the memory if the reference objects are not released.
>
It does go out of scope. I even tried release loObject. It doesn't call the Destroy method. If, however, I call loObject.release(), it does call object's Destroy. Right now I want to identify, if it's a framework bug or it's a result of our own changes in aBizObject. Do you have MereMortals for VFP? Would you please test it?
Thanks a lot in advance.
If it's not broken, fix it until it is.
My Blog