Calling DLL with array arguments?

Frank Harper <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Organization TURBOMECA
Message-ID <[email protected]>
I've just started looking  in to using Jawin, and the demos work well.

But  I've run into a problem because the custom Fortran code I need to
call has arguments that are arrays of floats.

FuncPtr.invoke(...) only supports passing various combinations of int
and String arguments.

Is there a way to call the following Fortran code which has two arrays
of floats, using Jawin?

Any pointers in the right direction would be greatly appreciated!

Example Fortran code:
------------------------
 *$pragma aux calcul export
*$pragma aux C1200703 "calcul"
      SUBROUTINE C1200703(Tabin,Tabout)
C
      IMPLICIT NONE
C     Arguments de la subroutine
      REAL  Tabin(100),Tabout(100)

        Tabout(1)=Tabin(1) * 2
        Tabout(2)=Tabin(2) * 2

      RETURN
      END

--
Frank Harper, TURBOMECA DSI/SIP
e-mail: [email protected]
Tel: +33-559-12-50-00 poste 6620
Fax: +33-559-12-59-71
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.