Console Apps and STA COM Objects
Marshal.ReleaseComObject()
http://blogs.msdn.com/b/jaredpar/archive/2005/05/05/415119.aspx
Marshal.ReleaseComObject Method
http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.releasecomobject.aspx
Discussion of Marshal.ReleaseComObject and its dangers
http://blogs.msdn.com/b/yvesdolc/archive/2004/04/17/115379.aspx
Marshal.FinalReleaseComObject Method
http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.finalreleasecomobject.aspx
How to release/close the COM object
System.Runtime.InteropServices.Marshal.ReleaseComO bject(thecomobject);
thecomobject=null;
GC.Collect();
http://bytes.com/topic/c-sharp/answers/244472-how-release-close-com-object
Thursday, July 15, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment