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

arrays of structures from VB dotnet

equisoft
Beginner
417 Views

We have a Fortran DLL compiled using this compiler that is passed several fixed length arrays of user defined types from VB6 which all work nicely.

We need to port the VB6 app to DotNet

When we changed to VB DotNet and ty to pass identical arrays of structures, they do not make the trip. The first element of the array is fine, but any subsequent elements are scrambled.

My question is, if we compile the dll as a COM server and use interop with VB dot net, will we be able to pass the arrays of structures to the COM server without resorting to extreme measures such as marshal.writeXX code?

TIA

Del

0 Kudos
0 Replies
Reply