
Originally Posted by
Vincent Oorsprong
Wil,
What do you mean? AFAIK the only place where DataFlex does not free memory is when you use Alloc() but that is intentional. At COM level DataFlex increases and decreased the reference count for COM object automatically and it is up to the control to remove itself from memory and cleanup. When you have a variant variable with a VT_DISPATCH value and the variable it getting out of scope or when the variable gets a different value the reference count is decreased.
Can you give an example so that it can be further be discussed ?