kturok
10-10-2003, 07:21 PM
I have a fortran dll compiled with the -ml lf95 switch. I have declared my exported subroutines in VB.Net as described in the documentation as such:
<DllImport("dll-name.dll", CallingConvention:=CallingConvention.Cdecl)>
Shared Function proc-name_ (arg-list) as return-type
All except one of my calls work, and I think it has to do with the way I am passing strings. The samples provided in the Win32\Examples\Mix_Lang directory do not include Strings, so I was wondering if someone could provide the correct method. Thanks.
<DllImport("dll-name.dll", CallingConvention:=CallingConvention.Cdecl)>
Shared Function proc-name_ (arg-list) as return-type
All except one of my calls work, and I think it has to do with the way I am passing strings. The samples provided in the Win32\Examples\Mix_Lang directory do not include Strings, so I was wondering if someone could provide the correct method. Thanks.