如何使用XLL将结构数组发送到excel [英] how to send array of structures to excel using XLL

查看:144
本文介绍了如何使用XLL将结构数组发送到excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在开发一种XLL,需要从文件中读取一些值并将它们存储在结构数组中,然后在excel中调用此函数应检索这些值.

我是XLL一代的新手.

我的结构数组定义如下:

Hi,

I am developing an XLL in which I need to read some values from a file and store them in array of structures and then calling this function in excel should retrieve the values.

I am new to XLL generation.

My array of structures definition is as follows:

stuct mat_info{
char a[10];
char b[10];
cahr c[10];
};


返回XLL中的结构数组的函数语法应该是什么?

谁能以代码形式为我提供解决方案.

提前谢谢.

问候,
Kissi


What should be the function syntax for returning array of structures in XLL?

Can anyone provide me solution in the form of code.

Thanks in advance.

Regards,
Kissi

推荐答案

这可能会帮助您:http://www.sqldrill.com/excel/programming-excel-sdk-c-api/1011853-xll-return-array.html [ ^ ]

链接的文字版本:

http://www.sqldrill.com/excel/programming-excel-sdk-c-api/1011853-xll-return-array.html
Perhaps this would help you: http://www.sqldrill.com/excel/programming-excel-sdk-c-api/1011853-xll-return-array.html[^]

Text version of the link:

http://www.sqldrill.com/excel/programming-excel-sdk-c-api/1011853-xll-return-array.html


这篇关于如何使用XLL将结构数组发送到excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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