[ quantlib-Bugs-1392393 ] Excel add-in does not remove functions when un-loaded

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ quantlib-Bugs-1392393 ] Excel add-in does not remove functions when un-loaded

SourceForge.net
Bugs item #1392393, was opened at 2005-12-29 01:37
Message generated for change (Settings changed) made by lballabio
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1392393&group_id=12740

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Lars Schouw (schouwla)
>Assigned to: Eric Ehlers (ericehlers)
Summary: Excel add-in does not remove functions when un-loaded

Initial Comment:
The add-in source code need to handle the xlAutoClose
callback.

Regards
Lars Schouw

----------------------------------------------------------------------

Comment By: Eric Ehlers (ericehlers)
Date: 2006-01-31 14:38

Message:
Logged In: YES
user_id=1143221

Implemented in CVS - many thanks.

Regards
Eric

----------------------------------------------------------------------

Comment By: Lars Schouw (schouwla)
Date: 2006-01-30 06:26

Message:
Logged In: YES
user_id=451604

here is the attachment.

----------------------------------------------------------------------

Comment By: Lars Schouw (schouwla)
Date: 2006-01-30 06:25

Message:
Logged In: YES
user_id=451604

Yes, xlAutoClose is broker but the problem can still be
solved.

I have created a small Visual Studio 2003 test project
where a funcion is registered and deristered in Excel.

Regards
Lars Schouw

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-01-27 20:22

Message:
Logged In: NO

can someone post a sample code on removing functions? i have
hard time to remove the existing xll and install a new
version. thanks.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-12-30 11:30

Message:
Logged In: NO

I have some add-ins that does that and works.
Send me a mail so we can discuss after new years.
Lars

----------------------------------------------------------------------

Comment By: Eric Ehlers (ericehlers)
Date: 2005-12-30 10:51

Message:
Logged In: YES
user_id=1143221

In theory you'd implement xlAutoClose calling
xlfUnregister for each XLL function, however xlfUnregister
is broken so in practice Excel provides no mechanism to
unregister functions.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1392393&group_id=12740