Hello,
I want to export the subroutines in the generated DLL library. I am using the following statements in the module but when checking the DLL using dumpbin the subroutines, i find that no subroutine symbols are exported. What am I doing wrong?
MODULE moduleName
CONTAINS
SUBROUTINE Y(X,Z)
!DEC$ ATTRIBUTES DLLEXPORT,ALIAS:"DLL_Y" :: Y
....
END SUBROUTINE
SUBROUTINE Q(A,B)
!DEC$ ATTRIBUTES DLLEXPORT,ALIAS:"DLL_Q" :: Q
....
END SUBROUTINE
END MODULE