MSDN上讲到 Microsoft.Office.Interop.Excel 的使用时,说
public class ApplicationClass : _Application, Application, AppEvents_Event解释:
This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.
通常用 Application 而不用ApplicationClass
//------------------------------------------------------
是不是Com在定义Interface时有 Addref()和release(),为了最后释放内存时方便?
用coclass声明 变量 不好释放吗?
public class ApplicationClass : _Application, Application, AppEvents_Event解释:
This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.
通常用 Application 而不用ApplicationClass
//------------------------------------------------------
是不是Com在定义Interface时有 Addref()和release(),为了最后释放内存时方便?
用coclass声明 变量 不好释放吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货