Login  Register

Re: Bug: Excel add-in does not remove functions when un-loaded

Posted by eric ehlers on Dec 29, 2005; 1:45am
URL: http://quantlib.414.s1.nabble.com/Re-Quantlib-users-what-do-I-need-to-make-run-an-xll-tp10719p10726.html

Hi Lars,

>  The add-in source code need to handle the xlAutoClose
>  callback.

In theory you would implement the xlAutoClose function and there call
xlfUnregister for each of an XLL's functions.  However xlfUnregister
is broken so in practice Excel provides no mechanism to unregister
functions.  The only reason to implement xlAutoClose would be if there
were other resources that needed to be released which is not the case
for QuantLibAddin.

Regards,
Eric