> ActiveX Control is TeeChart Control which is widely used in Delphi
> env.
I like the picture, but couldn't tell if your ActiveX method was
returning other refnum values which it allocated and expected LV to
Close. This is the most likely cause. So, I'd inspect each of the
return values, and if any of them are refnums or are being cast to a
refnum and used as one, be sure it gets Closed. Other things like
arrays should either be converted into LV arrays and released, or if
unwired, they should be released. If you have excluded the problem with
refnums, you might look at the unwired inputs and wire them temporarily
to the edge of a sequence or something just to see if the problem gets
better or worse. Please report anything that you find that
doesn't look
correct.
Greg McKaskle