Releasing ActiveX in .Net application
Posted: Tue Oct 07, 2008 7:58 am
Hi
I'm using the TeeChart8.ocs in a .net application but have quite some difficulties in releasing the object again:
When doing:
TChart chart = new TChartClass();
System.Runtime.InteropServices.Marshal.ReleaseComObject(chart);
chart = null;
procexp.exe still reports that the application is using it. What can I do to release the com object?
Best Regards
Franz Thomsen
I'm using the TeeChart8.ocs in a .net application but have quite some difficulties in releasing the object again:
When doing:
TChart chart = new TChartClass();
System.Runtime.InteropServices.Marshal.ReleaseComObject(chart);
chart = null;
procexp.exe still reports that the application is using it. What can I do to release the com object?
Best Regards
Franz Thomsen