Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

unresolved symbols in a dll

randystonesifer
Beginner
447 Views
A MS PowerStation DLL and a calling test program were recompiled with DF5. The dll works (as shown by its being successfully used by a delphi program). The fortran program that I wrote to test the dll compiles but will not link. The dll lib (fit5.lib) is searched as can be seen in a verbose link output but both functions of the dll remain unresolved. What can I be overlooking?
I removed the C in the export statements:
!MS$ATTRIBUTES DLLEXPORT:: fit5
!MS$ATTRIBUTES DLLEXPORT:: rand1
which is required for the C interface of Delphi program. The linker errors:
calldll.obj : error LNK2001: unresolved external symbol _FIT5@72
calldll.obj : error LNK2001: unresolved external symbol _RAND1@4
Thanks for your thoughts.
Randy
0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
447 Views
I see Steve already answered this in comp.lang.fortran -- to repeat, what does
dumpbin /exports fit5.dll
produce?
0 Kudos
Reply