- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a set of functionsin a module that compiled and linked without any problems in CVF 6. When I link against the module in IVF, I get linker errors indicating that I can't find references to the module name prepended with "__imp__MODULE_mp_FUNCTION" where MODULE is the module name and FUNCTION is the function name. Any ideas?
I figure I either need to specify a project setting to create the correct convention for the symbol definition or I need to change how the linker finds the references.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The __imp_ indicates that the caller thinks that the module is built into a DLL - is that the case? You need to ensure that the "import library" from the DLL project is linked in with the executable project. This happens automatically when the DLL project is made a dependent of the executable project, with one exception, that being a C/C++ executable project and VS2005. If you're using that combination, you will have to manually add the Fortran .lib to the C/C++ project or the linker "additional dependencies" field.

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