开发者

XLL Excel addin in unmanaged C++

开发者 https://www.devze.com 2023-03-11 07:06 出处:网络
I have a few mathematical simulations in unmanaged C++ and now I need to integrate them with Excel (so that it ispossible to call the functions from Excel and get the values back). I don\'t want to us

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 back). I don't want to use any VBA, so I guess I hav开发者_如何学Ce to implement an XLL addin. I would like to use as few third party additional frameworks as possible. Could someone point me to a good tutorial?


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

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号