PDA

View Full Version : Two-Dimensional Arrays


bmptti
04-08-2009, 08:37 PM
Hello,

I have a VB .NET program in which I reference a Fortran .NET DLL. I am trying to retrieve a 2-dimensional array that is from the Fortran DLL, but VB underlines the array indices and says "Number of indices exceeds the number of dimensions of the indexed array." Can I not retrieve a 2-dimensional array from this DLL? What do I have to do to grab this info?

Thanks In Advance,

Brad

tzeis
04-12-2009, 08:21 PM
There are a couple of issues that you need to address to get things working. See the thread Passing multi-dimensioned arrays (http://forum.lahey.com/showthread.php?t=10186&highlight=array+multi-dimension) for a thorough description.