I have a VB.net console app and I am opening a function in a dll written in fortran. I am passing 3 arrays through the function by reference. When they come back out the otherside they ahve all tunred to arrays of only one element. And that element is 0.
I read on the internet somewhere that when doing this kind of thing it is a good idea to only pass the first element of the array into the function. I tried changing my function declaration to accepting single elements rather than single dimensional arrays, and now the arrays are the same length before and after the function call, but they don't seem to be changing at all, so i'm not sure that this is working.
Anyone ever have any problems like this or know what to try? Any help would be much appreciated.