摘要
将Visual Fortran开发的数学模型集成到系统,这样的需求正越来越多。在Visual Fortran开发环境中创建符合Win32API规范的DLL成了一个亟待解决的实际问题。对此进行较为系统的探讨,Win32 API事实上的标准是如何要求的,如何调整Visual Fortran的调用约定,如何消除Fortran 90/95的字符串、多维数组及派生类型与Win32 API中的对应实体的差异等,并用典型示例加以说明。给Visual Fortran创建Win32 API式的DLL提供了操作指南。
Nowadays, there is an increasing need to integrate numerical models developed in Visual Fortran into sophisticated systems, it thus becomes a problem to be solved how to create DLL in accordance with Win32 API in Visual Fortran. A thorough discussion is carried out, what the specification of Win32 API is, how calling conventions in Visual Fortran are adjusted, how to patch up differences of string, multi-dimension array and derived type arguments in Fortran 90/95 from equivalents in Win32 API, etc. And typical examples are presented. As a result, a developing guideline is provided for Visual Fortran creating DLL analogous to Win32 API.
出处
《计算机工程与设计》
CSCD
北大核心
2008年第18期4868-4871,共4页
Computer Engineering and Design
关键词
教学模型
动态链接库
调用约定
混合编译
派生类型/结构体
numerical model
dynamic link library
calling convention
mixed-language compiling
derived type/structure