XLL Excel addin in unmanaged C++

后端 未结 1 1831
忘了有多久
忘了有多久 2021-02-07 15:45

I have a few mathematical simulations in unmanaged C++ and now I need to integrate them with Excel (so that it is possible to call the functions from Excel and get the values b

相关标签:
1条回答
  • 2021-02-07 15:59

    Starting out with the SDK can be a bit unpleasant. I'd suggest you try one of the toolkits:

    • XLW (http://xlw.sourceforge.net/) is a standard open-source C/C++ wrapper.
    • Keith Lewis's NXLL library (http://nxll.codeplex.com/) might be worth a look if you are feeling a bit more adventurous, and like modern-looking C++.
    • The Rolls-Royce of C/C++ toolkits for Excel is XLL+ (http://www.planatechsolutions.com/xllplus/).

    Of course for managed code, or to make a C# wrapper that calls your unmanaged C++ code from .NET UDFs, you'd use Excel-DNA (http://exceldna.codeplex.com).

    0 讨论(0)
提交回复
热议问题