dabenPB
05-18-2004, 09:38 PM
Hi
I have a Fortran 70 that I would like to compile to a dll and call from c#. The code has the following input/output within the procedural call:
double x, in byval
complex RefREL, in byval
long nAng, in byval
complex array(1D) sx, in/out byref
double array(1D) Q, in/out byref
long i, in byval
where byref means that I change the value of the variable within the Fortran code and want to access this new value within the c# code.
Is this possible with your Fortran.Net compiler? The most important thing is the complex array -- I think this is where there will be trouble. I currently use the Exocortex.DSP package to handle complex numbers within c#.
thanks
daben
I have a Fortran 70 that I would like to compile to a dll and call from c#. The code has the following input/output within the procedural call:
double x, in byval
complex RefREL, in byval
long nAng, in byval
complex array(1D) sx, in/out byref
double array(1D) Q, in/out byref
long i, in byval
where byref means that I change the value of the variable within the Fortran code and want to access this new value within the c# code.
Is this possible with your Fortran.Net compiler? The most important thing is the complex array -- I think this is where there will be trouble. I currently use the Exocortex.DSP package to handle complex numbers within c#.
thanks
daben