- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see Steve already answered this in comp.lang.fortran -- to repeat, what does
dumpbin /exports fit5.dllproduce?

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