- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve, hi all,
another try:
is it possible to use a Module, which is located inside a dll? And if yes, how?
greetings
Olaf
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Information regarding the variables, types and interfaces to procedures is in the .MOD file generated when the source code of the module is compiled. This information is not present in the DLL, and most compilers do not try to read the contents of a DLL. A DLL contains executable code and sections for storing variables -- information that is used at run time.
As examples, look at the MKL or IMSL libraries. In order to be able to use routines in their libraries using F90+ interfaces, you need the MOD files in addtion to the LIB files. Without having the MOD files, you are restricted to calling routines that have a F77 (i.e., implicit) interface.
Similarly, C programmers need the header files for various libraries in addition to the libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi mecej4,
thanks for it.
Olaf
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page