This project has moved. For the latest updates, please go here.

Releasing COMObject

Aug 15, 2016 at 3:59 PM
Edited Aug 18, 2016 at 6:31 AM
Hi,
within my application I'm creating an excel instance and registering a XLL. Afterwards I'm trying to release everything but excel stays in memory.

My code looks like that:
// start
NetOffice.ExcelApi.Application _excel = new Excel.Application();
_excel.RegisterXLL(xllFullPath);

//release
_excel.Quit();
_excel.Dispose();
_excel = null;
Update 2016-08-17: The problem is registering the XLL
Is their a way to "unregister" the XLL? (it's an Excel-DNA XLL that loads a XLA...)

Thanks in advance,
Karsten