Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29249 Discussions

Passing arrays of dimension 3 or more from vb .net to fortran DLL

shrikanthak
Beginner
268 Views
Hello,
I have a few programs that pass more than 2 dimensional arrays from Excel to a Fortran DLL. They work fine. How do we get to do the same with VB .Net without the arrays being transposed on the fortran side.
For example if I pass a 2D array from .Net to Fortran the row becomes the column and column becomes the row in fortran (array transpose). In case of a n-dimensional array that will hell to deal with.
Thank you,
0 Kudos
1 Reply
Steven_L_Intel1
Employee
268 Views
I suggest that you look at the VB.NET-Safearrays sample
0 Kudos
Reply