Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Multiple Entry point for one DLL

alexandre_c_1
Beginner
379 Views

Is it possible to have more than one entry point within one fortran DLL ?

I was able to do that when I was compiling dll with Lahey Fortran.

If yes, can somebody give me some directives on how to proceed ?

 

Thank you

0 Kudos
1 Reply
mecej4
Honored Contributor III
379 Views

If you are building the DLLs from source code, you can add DLLEXPORT directives to the routines that contain the desired entry points and recompile the sources before linking. If you wish to use entry points that reside in .OBJ and .LIB files, you can name them in /export:<entry_name> linker options, or use a module definition file, as explained in the MS Link documentation.

0 Kudos
Reply