Example:.f导出DLL 与lib(导入库)
subroutine FORTRANADD(a,b,c)
c Expose subroutine fortranDll to users of this DLL
!DEC$ ATTRIBUTES DLLEXPORT::FORTRANADD
implicit none
double precision a,b,c
c Variables
c Body of fortranDll
c=a+b
return
end subroutine FORTRANADD
Example:.c导出DLL导出DLL 与lib(导入库)
//.h
#ifndef DLLAPI
#define DLLAPI __declspec(</