Re: Calling C function from Fortran



I don't see the declaration of
AC, BAS and BY in your Fortran program. (Strings or arrays ?)

Most compilers add an extra argument to a procedure to pass the length
of the CHAR variables.
This may cause the mismatch.

Why do you use %ref ?
Aren't all arguments (in *.c) declared as pointers ?

[JvO]

.



Relevant Pages