- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear list,
we have just migrated our "solutions" from VS 2003 to VS 2005, and also started
using the possibility to specify which subroutines to export from the final DLL directly in the code via directives. The problem is that the link stage fails to make the new exports visible in the new DLL. (I used dumpbin to inspect)
The solution file has 5 projects, 4 of them each makes a lib with exports, and the final is a DLL project with just a few Fortran files and one exported interface. Before, we had C wrappers in this last project specifying all exported interface in the DLL. Now we have removed the C wrappers and the actual export directives are scattered around in the other 4 libraries. We have specified the correct build order and also the dependencies between the projects, so everything builds fine.
Is it at all possible to achieve the above or do we have to put all the Fortran files with exported symbols into the last project?
best regards,
Helge
we have just migrated our "solutions" from VS 2003 to VS 2005, and also started
using the possibility to specify which subroutines to export from the final DLL directly in the code via directives. The problem is that the link stage fails to make the new exports visible in the new DLL. (I used dumpbin to inspect)
The solution file has 5 projects, 4 of them each makes a lib with exports, and the final is a DLL project with just a few Fortran files and one exported interface. Before, we had C wrappers in this last project specifying all exported interface in the DLL. Now we have removed the C wrappers and the actual export directives are scattered around in the other 4 libraries. We have specified the correct build order and also the dependencies between the projects, so everything builds fine.
Is it at all possible to achieve the above or do we have to put all the Fortran files with exported symbols into the last project?
best regards,
Helge
Link Copied
0 Replies

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