Releasing COMObject

Aug 15, 2016 at 3:59 PM
Edited Aug 18, 2016 at 6:31 AM
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 = 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,