从(非托管)C ++调用XLL [英] Calling an XLL from (unmanaged) C++

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

问题描述

我有一个XLL Excel插件,现在另一个团队希望在他们的项目中使用相同的功能(非托管C ++).有没有一种方法可以直接从C ++与该XLL交互?

I have an XLL Excel addin and now another team wants to use the same functionality in their project (unmanaged C++). Is there a way to interface with this XLL directly from C++?

推荐答案

您是XLL非托管代码还是非托管代码?

Is you XLL un managed or unmanaged code?

据我所知,一个非托管的C ++ XLL文件实际上是一个DLL,可导出Excel调用的特定方法.

As far as I know, an unmanaged C++ XLL file is in fact a DLL that exports specific methods called by Excel.

如果您的XLL具有.def文件,也许您可​​以添加其他团队将调用的方法.

If your XLL has a .def file, maybe you could add method that would be called by the other team.

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

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