XLL Excel插件在非托管C ++ [英] XLL Excel addin in unmanaged C++

查看:218
本文介绍了XLL Excel插件在非托管C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在非托管C ++中有一些数学模拟,现在我需要将它们与Excel集成(以便可以从Excel调用函数并获取值)。我不想使用任何VBA,所以我想我必须实现一个XLL插件。我想尽可能少使用第三方额外的框架。

解决方案

开始使用SDK可能会有点不愉快。
我建议您尝试其中一个工具包:





当然对于托管代码,或者做一个C#您的非托管C ++代码从.NET UDF,您将使用Excel-DNA( http://exceldna.codeplex.com )。


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 have 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:

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

这篇关于XLL Excel插件在非托管C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆