Call FORTRAN DLL (passing String)
Posted on 1998-03-23
I can't seem to get a VB app to call a FORTRAN DLL with a String parameter? I've been using the following code in VB:
Declare Sub GETSTRING Lib "d:\VB4\fortint.dll" Alias "_GETSTRING@8" (Myarray As String)
VB actually crashes when this is run, so I have no idea what the problem is. I've also tried the code listed in the FORTRAN Developer Studio (as above, without Alias), but VB says "Can't find insertion point...". I really need some working code on this one, so I hope that someone can help.