Hi:

I'm trying call a dll by fortran(by cvf 6.6) from vb6.0

the code as:

in vb:

Private Declare Sub Dll2 Lib "d:\Dll2.dll" (ByRef a As Single, ByRef b As Single, ByRef n As Long)