首页 | 本学科首页   官方微博 | 高级检索  
     

Visual Fortran基于Win32 DLL的混合编程技术
引用本文:周振红,宋宇伟,郭恒亮,杨国录.Visual Fortran基于Win32 DLL的混合编程技术[J].郑州大学学报(工学版),2003,24(3):10-13.
作者姓名:周振红  宋宇伟  郭恒亮  杨国录
作者单位:1. 郑州大学环境与水利学院,河南,郑州,450002
2. 武汉大学水利水电学院,湖北,武汉,430072
基金项目:国家自然科学基金资助项目(50099620),河南省高校青年骨干教师计划资助项目
摘    要:Visual Fortran与Visual C 、Visual Basic、Delphi的混合编程,可将Fortran编制的数学模型融入到各种辅助决策综合信息系统中.其混合编程实现的途径为:在Visual Fortran中,将执行计算的各种过程集成Win32DLL;在基于对象的语言中导入DLL,并对Fortran DLL输出的过程实施调用.实现的关键是:在调用约定匹配的前提下,使Visual C 、Visual Basic、Delphi程序中声明的外部过程原型,与Fortran DLL中的导出过程在目标过程名、参数类型及参数传递上保持一致.

关 键 词:VisualFortran  Win32DLL  混合编程  数学模型  信息系统  调用约定  参数  VisualBasic  Delphi  VisualC++
文章编号:1671-6833(2003)03-0010-04
修稿时间:2003年4月29日

Mixed-language Programming of Visual Fortran Based on Win32 DLL
ZHOU Zhen-hong ,SONG Yu-wei ,GUO Heng-liang ,YANG Guo-lu.Mixed-language Programming of Visual Fortran Based on Win32 DLL[J].Journal of Zhengzhou University: Eng Sci,2003,24(3):10-13.
Authors:ZHOU Zhen-hong  SONG Yu-wei  GUO Heng-liang  YANG Guo-lu
Affiliation:ZHOU Zhen-hong 1,SONG Yu-wei 1,GUO Heng-liang 1,YANG Guo-lu 2
Abstract:Mathematical models programmed by Fortran may be embedded into various comprehensive information systems by means of mixed language programming with Visual Fortran and Visual C++, Visual Basic,and Delphi The method is:computing routines are integrated into Win32 DLL in Visual Fortran,and then DLL is imported and routines called in Visual C++,Visual Basic and Delphi The key to carrying out mixed_language programming,is:calling convention,naming convention, argument type and passing should be consistently reconciled between Visual Fortran and Visual C++, Visual Basic as well as Delphi, respectively
Keywords:Visual Fortran  DLL  mixed  language programming  calling convention  argument passing  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号