I have inherited a VS 2005 solution which contains a C dll project and a Fortran static library project. The C dll project requires the Fortran routines. I have updated the solution for VS2010.
The C dll project has the Fortran library added as an Additional Dependency. I have also added the Fortran library to C dll project.
However, the C project build show unresolved symbols for each of the Fortran routines.
If I add !DEC$ ATTRIBUTES DLLEXPORT to the Fortran routines, then I get no complaints.
Do I really need to export the routines from a static library, or have I missing something?
Regards, Mike