I have upgraded my Delphi 2007 application to Delphi Seattle. In Delphi 2007 I had a Fortran DLL which was called from my Delphi application. After upgrade I get an error 'Procedure end point not found'. Please note that there is no change to the Fortran DLL and the dll is in the same path as the application exe
The call code from Delphi is
type
TArrayOfTypeNos= array [1..1000] of Integer;
....
procedure CallFunc(
Idx : Integer;
var Nos : Integer;
var ProductTypes : TArrayOfTypeNos
); stdcall; external 'MyFortranDLL.dll' name '_ThisIsFuncNameinFortran';
Can someone please give me some idea as to what could be wrong?
The error I get is:
The procedure entry point _ThisIsFuncNameinFortran could not be located in dynamic link library
external 'MyFortranDLL.dll'- David Heffernan