G
Guest
I have a COM based component that raises an exception and I'm awaiting a
patch for it. However, I need to be able to recover from the exception,
destroy the COM object and then regenerate it @ a later date in my C# Windows
Forms App.
I presently do this:
System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
obj = null;
System.GC.Collect(0);
However, it is not fully releasing the object
Any thoughts???
patch for it. However, I need to be able to recover from the exception,
destroy the COM object and then regenerate it @ a later date in my C# Windows
Forms App.
I presently do this:
System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
obj = null;
System.GC.Collect(0);
However, it is not fully releasing the object
Any thoughts???