We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我必须为此手动编写自己的编组代码。没有免费可用的库来处理这个问题。 XLW 旨在包装整个插件 - 这对我来说不是一个选择。
最后,只是花了很多时间,浏览 xloper 和variant 的文档,并弄清楚如何将它们相互映射。
出于好奇:
xloper(12) 中的数组:
变体中的数组:
与此编组有关的其他提示:
boost::numeric_cast
对此有所帮助。I had to hand-roll my own marshalling code for this. There were no freely available libs to handle this. XLW is meant for wrapping your entire plugin - this was not an option for me.
In the end, it just took a lot of time, looking through the documentation for xloper and variant, and figuring out how to map them to each other.
For the curious:
arrays in xloper(12):
arrays in variant:
other tips with this marshalling:
boost::numeric_cast
helps with that.我使用 XLL Plus(费用)
http://www.as-ltd.co.uk/xllplus/default.htm
还有XLW(开源)
http://xlw.sourceforge.net/
以及其他我不知道的内容
I use XLL Plus (costs)
http://www.as-ltd.co.uk/xllplus/default.htm
There is also XLW (opensource)
http://xlw.sourceforge.net/
and probably others I am not aware of