检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]郑州大学水利与环境学院,河南郑州450002 [2]郑州大学土木工程学院,河南郑州450002
出 处:《计算机工程与设计》2010年第10期2396-2398,2404,共4页Computer Engineering and Design
基 金:河南省教育厅自然科学研究计划基金项目(2009A610014)
摘 要:为使Fortran与VB混合计算工程中的接口容纳更丰富的数据类型,研究了以OLE变体类型为载体的字符串数据的传递。在阐述了OLE变体类型结构的基础上,利用CVF对Unicode字符串的支持,成功实施了单一字符串的传递;基于对VB变体安全数组参数的本质认识,并通过挖掘CVF语言扩展功能,解决了字符串数组的传递;通过将含字符串自定义类型转换成变体数组,给出了含字符串自定义类型数组的传递方式。实例结果表明了各种传递方法的可行性。To make an interface contain richer data types in Fortran/VB mixed-language programming computation engineering,it is researched to pass string data by way of OLE variant types.On the basis of a discussion of OLE variant type structure and with the support of CVF for Unicode strings,singular string is successfully passed.Based on the essential recognition of VB variant SafeArray arguments,plus taking full advantage of CVF language extension,it is solved to pass string arrays.By converting derived types into 1-dimension variant arrays,the way is presented to pass embedded-string derived type arrays.The feasibility of above-mentioned passing methods has been examplified.
关 键 词:混合计算工程 接口 变体类型 字符串数据 安全数组 语言扩展 自定义类型或派生类型
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.33