[Fortran] 纯文本查看 复制代码 module test_mod
interface call_test
module procedure call_test_int
module procedure call_test_real
end interface
contains
subroutine call_test_int()
!dec$ attributes dllexport , ALIAS:"call_test_int"::call_test_int
return
end subroutine
subroutine call_test_real()
!dec$ attributes dllexport , ALIAS:"call_test_real"::call_test_real
return
end subroutine
end module
请教:现在要把这个文件做成dll.现在要call_test也能被调用,应该怎么写啊?
|