I am trying to compile and link a Fortran 90 program where I am trying to call a dll written in Delphi 7. I keep getting the usual unresolved external error on the dll call, even after I have included all(I think) of the needed stdcall directives and dllimport attribute in the fortran code. Does anyone have any general ideas on how this has been done?