QuantLibXL / ObjectHandler 0.9.0 Prerelease Files

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

QuantLibXL / ObjectHandler 0.9.0 Prerelease Files

Eric Ehlers-2
Hi All,

The prerelease files for version 0.9.0 of QuantLibAddin, QuantLibXL,
ObjectHandler and gensrc are available at this link:

http://quantlib.org/prerelease/oh-qla.html

I'd be grateful to anyone who could spare some time to test the files and
let me know how it goes.

Kind Regards,
Eric



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: QuantLibXL / ObjectHandler 0.9.0 Prerelease Files

Luigi Ballabio
On Wed, 2008-01-16 at 18:42 +0000, Eric Ehlers wrote:
> The prerelease files for version 0.9.0 of QuantLibAddin, QuantLibXL,
> ObjectHandler and gensrc are available at this link:

Hi Eric,
        if it doesn't break anything, you might want to apply this patch
to ObjectHandler. It fixes a strange problem with the C++ addin. At
least with VC++7 (I didn't check other compilers) if you pass a string
literal to a function expecting a Variant, it calls the Variant(const
bool&) constructor. Why it should think that conversion better than the
std::string one is beyond me...

Luigi


Index: ObjectHandler/oh/variant.hpp
===================================================================
--- ObjectHandler/oh/variant.hpp        (revision 14101)
+++ ObjectHandler/oh/variant.hpp        (working copy)
@@ -55,6 +55,7 @@
         Variant(const long &l) : variant_(l) {}
         Variant(const double &d) : variant_(d) {}
         Variant(const bool &b) : variant_(b) {}
+        Variant(const char *s) : variant_(std::string(s)) {}
                Variant(const std::string &s) : variant_(s) {}
 
         //! \name Inspectors




--

Greenspun's Tenth Rule of Programming:
Any sufficiently complicated C or Fortran program contains an
ad-hoc, informally-specified bug-ridden slow implementation of
half of Common Lisp.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: QuantLibXL / ObjectHandler 0.9.0 Prerelease Files

Max-118
In reply to this post by Eric Ehlers-2
Hi Eric,

I just installed QuantLibXL-bin-0.9.0.exe. The "Option.xls" works fine. However, the other spreadsheet "options.xls" doesn't work.

The following errors are found in the log file:

ERROR - [options.xls]data!$G$49 - qlSwapRateHelper - ObjectHandler error: attempt to retrieve object with unknown ID 'euribor6m'
ERROR - [options.xls]data!$G$48 - qlSwapRateHelper - ObjectHandler error: attempt to retrieve object with unknown ID 'euribor6m'
ERROR - [options.xls]data!$G$47 - qlSwapRateHelper - ObjectHandler error: attempt to retrieve object with unknown ID 'euribor6m'
......

Any idea? Thanks!

Best regards,
Max

On Jan 17, 2008 2:42 AM, Eric Ehlers <[hidden email]> wrote:
Hi All,

The prerelease files for version 0.9.0 of QuantLibAddin, QuantLibXL,
ObjectHandler and gensrc are available at this link:

http://quantlib.org/prerelease/oh-qla.html

I'd be grateful to anyone who could spare some time to test the files and
let me know how it goes.

Kind Regards,
Eric



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: QuantLibXL / ObjectHandler 0.9.0 Prerelease Files

Eric Ehlers-2
Hi Max,

Many thanks for your feedback.

> Hi Eric,
>
> I just installed QuantLibXL-bin-0.9.0.exe. The "Option.xls" works fine.
> However, the other spreadsheet "options.xls" doesn't work.

Oops the installer was supposed to deliver only a short list of selected
files, by mistake I have specified *.xls and picked up many
obsolete/broken workbooks such as options.xls.  This will be fixed in the
release, thanks for pointing that out.

The best example workbooks to look at are YieldCurveBootstrapping.xls and
InterestRateDerivatives.xls.

Regards,
Eric



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev