#3 Problems to generate a fortran dll to Delphi

open
nobody
None
5
2012-09-16
2004-12-25
Anonymous
No

Dear Sirs,

I have used your program (Fortran Wizard) to convert a
Fortran source code in a dll file and call it in Delphi. Your
program gave me a good starting point because I am not
a
Fortran expert and I had never tried to compile a dll file.
After using your program and making some modifications
in my
Delphi code (manually) I suspect that some parameters
(specifically the array parameters, the other ones are
working fine) are not being passed correctly to the dll.
Probably there is some mistake in my parameters
definition
in the Fortran source code...

I tried to do many changes but nothing has worked...
maybe
you could help me because you developed a program
aimed to
this task and I believe that you have a great
experience...

Only for your correct understanding, I am sending you
the
original fortran source code in the file
originaf.zip, the modified fortran source code (updated
to
the dll generation) in the file modifiedf.zip as well as the
test program developed in Delphi in the file
testprogram.zip.
The input file to run the test program is dasurf.dat and it
must be placed at the root directory in the C disk.

Please, just let me know if there is some mistake in my
files
generated using fwizard.

Thank you for developing fwizard and leave it available in
internet!

Best regards,

Fábio.

Discussion