Login  Register

RE: [Quantlib-users] what do I need to make run an xll ?

Posted by Daniele De Francesco-2 on Feb 10, 2005; 8:59am
URL: http://quantlib.414.s1.nabble.com/Re-Quantlib-users-what-do-I-need-to-make-run-an-xll-tp10719p10729.html

I have had this kind of problems in a lot of situations, and then I found a
tool that just shows you all the dependencies of a dll so that you quickly
find out what you're missing.

http://www.dependencywalker.com/

It's free and it works.  :-)

My guess is that you have a run-time dependency on a version of the C or C++
runtime library which versions are different on the two machines.
But this is just speculation: start the dependency walker and you'll know
exactly.. :-)  

-Daniele



-----Original Message-----
From: eric ehlers [mailto:[hidden email]]
Sent: Wednesday, February 09, 2005 5:41 PM
To: Adjriou Belak
Cc: [hidden email]; [hidden email]
Subject: Re: [Quantlib-users] what do I need to make run an xll ?


> In my laptop , the xll works fine because I have Visual C++, but in my
> desk, I just have Excel and and when I open the xll, i Have a message
> error. What  libraries do I need to make it run without Visual C++ ?

In the simplest case an xll has no external dependencies - you start Excel,
load the xll, and away you go.

If your xll stops working when you install it on a non-development machine,
I'd suspect one of two problems
1) you've compiled the xll in such a way as to create a run-time dependency.
For example, you linked the xll to some lib such that the xll depends on the
corresponding dll at runtime
2) There's some other difference between your dev box and the box you
installed to - for example different versions of Excel - xlls can be flaky
about different versions of Excel and not all of the differences are
documented, debugging is the only way.

Regards
Eric