检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]长江水利委员会规划计划局,武汉430010 [2]郑州大学水利与环境学院,郑州450002
出 处:《长江科学院院报》2008年第4期106-110,共5页Journal of Changjiang River Scientific Research Institute
摘 要:在CVF平台上进行水利计算工程开发,仅通过调用系统接口资源Win32 API函数还不能完全满足其功能扩展要求,如何从Fortran用户习惯出发,用VC创建由C/C++函数构成的Win32 DLL来扩充CVF的应用接口资源,就成为一个亟待解决的实际问题。对此进行较为系统的探讨,包括VC,CVF的调用约定是如何规定的,如何在二者间进行协调,如何针对Fortran 90的字符串、多维数组、派生类型设置相应的C/C++函数参数等,并通过典型示例加以说明,为VC创建供CVF调用的Win32 DLL提供了操作指南。In developing hydraulic computation applications on Compaq Visual Fortran(CVF), only to call Win32 API functions cannot meet all the needs of its functionality extension, and thus the paper arises a problem to be solved how to create Win32 DLL made up of C/C+ + functions by VC in accordance with Fortran users, in order to extend CVF API. A thorough discussion is carried out, in which how to call conventions of VC and CVF and how to coordinate between them are given, alphabet string, multi-dimension array and derived type in combination with Fortran 90 are correspondingly set up in C/C+ + functions, etc.. And at last, some and typical examples are presented. As a result, a developing guideline is provided for VC creating Win32 DLL suitable for CVF.
关 键 词:数值计算 应用接口 调用约定 混合编译 派生类型/结构体
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7