公司将在公布的情况下,所有非托管COM对象,如果我用这样的代码 var worksheet = new Application().Workbooks.Add().Worksheets.Add();
Marshal.ReleaseComObject(worksheet);
,而不是像这样的代码 var excel = new Application();
var workbook = ex
我正在从.net 4.5.2框架上运行的Web应用程序中的Web窗体调用COM对象。 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the er