Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

DLLEXPORT use in Intel Fortran within Modules

$
0
0

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


Viewing all articles
Browse latest Browse all 5691

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>