- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page