Re: Managed c++
Posted by
Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/Managed-c-tp2934p2936.html
On 2004.05.14 12:47, Vitthal Kulkarni wrote:
> I am trying to convert the calendar class of Quatlib to managed c++.
> I have added the calendar class and other support classes as generic
> c++ class codes.
>
> I am able to instantiate the class properly. When i access the class
> methods such as addDays, addHours, it exposes the method parameters
> properly. At compile time i get error that method is not part of
> Calendar class
>
> i used following code for class instantiation
>
> Calendars::London * LN=new Calendars::London();
> LN->AddDays(System::DateTime::Today,1);
Vitthal,
what version of QuantLib are you using? The C++ Calendar class
doesn't have an AddDays method (and as far as I recall, it never had
one.)
Later,
Luigi