[Fortran] 纯文本查看 复制代码 module dll
contains
subroutine prin(rr)
!DEC$ ATTRIBUTES DLLEXPORT,ALIAS:"PRIN"::PRIN
implicit none
integer:: rr
rr=3+4
write(*,*)"i am eric.wu"
end subroutine
end module
program YUI
use dll
implicit none
INTEGER:: TT
call prin(TT)
end program
版主,怎么才能不再工程里面添加lib呢?网上的视频看了 但是还是没有看懂 我在属性里面也添加了 dll的生成的目录
|