简体   繁体   English

XLL Excel 插件在非托管 C++

[英]XLL Excel addin in unmanaged C++

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).我在非托管 C++ 中有一些数学模拟,现在我需要将它们与 Excel 集成(以便可以从 Excel 调用函数并取回值)。 I don't want to use any VBA, so I guess I have to implement an XLL addin.我不想使用任何 VBA,所以我想我必须实现一个 XLL 插件。 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.从 SDK 开始可能会有点不愉快。 I'd suggest you try one of the toolkits:我建议您尝试以下工具包之一:

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 ). 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 ).

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM