Ocx memoryleak?

Hi I did expect that an OCX would “die” when the calling navision object is terminated. But looking at the taskmanager it seems that the FIN.exe keeps growing - i have no evidence that it is true. How do you programmatically insure that an ocx is terminated within the navsion object?

Often setting the ocx variable as local can help you.

or try CLEAR(OCX-Variable)