http://quantlib.414.s1.nabble.com/Re-QuantLibAddin-Addin-Cpp-tp9597.html
Let's keep in touch and I will certainly let you know when I get back
into this in detail. I would definitely welcome any help you could
provide on this front.
Hi Eric,
I mad a few more steps last weekend:
2) modified OpenOffice.org3.1_SDK/examples/DevelopersGuide/Components/Makefile to compile the simple example and deploy it into Calc
3) managed to link the sdk example code with QuantLibAddin, ObjectHandler 0.9.9 etc.
4) added calcutils.cpp, init.cpp, conversions.cpp from QuantLibAddin/Addins/Calc to the compilation
5) added a few functions manually to the example code: qlVersion(), qlAddinVersion(), qlEuropeanExercise()
It is all in a very experimental stage (see attached), but at least it compiles on my Mac, the addin library gets deployed, the functions show up in Calc's function wizard, and they work.
At this point I think we could make the QuantLibAddin for Calc work in 0.9.9 with OOo 3 as it did in version 0.9.0 with Ooo 2.4 (I mean adding functions manually, have not looked into gensrc yet).
Before I continue digging into this, I'd like to discuss with you a bit more. For example, your IDL file looks already different from the example I have picked etc. I'm also curious whether the attached files work on your (I guess) Linux environment, too (definitely needs changing paths in the Makefile).
What do you think?
Best regards,
Roland
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.