I am having trouble getting fortran talking to vb. I must be missing something. This runs then gets stuck in the fortran dll
VB won't let me put a(1,1) in the call statement
Anyone see what I am missing?
Private Declare Sub ludcmp Lib "lu.dll" (array1() As Double, n1 As Integer, NP1 As Integer, indx1() As Integer)
ReDim a(1 To n, 1 To n) As Double
Call ludcmp(a(), n, NP, indx())
!DEC$ ATTRIBUTES DLLEXPORT :: ludcmp
!DEC$ ATTRIBUTES ALIAS:'ludcmp' :: ludcmp