B
bogdan.maxim
I have the folowing structure defined in a C++ COM Project:
[export]
struct a
{
DOUBLE a1[6][100]; //This is the problem
DOUBLE a2[4];
DOUBLE a3;
};
I need to export it from this project to have access to it using C# or
other .NET based language. The problem is that the arrary a1 isn't
exported as a bidimensional array but as a unidimensional array, and i
cannot call any function that would accept the struct as a parameter.
Any idea how can i export the struct or to import it in .NET to see the
array as a multidimensional array?
[export]
struct a
{
DOUBLE a1[6][100]; //This is the problem
DOUBLE a2[4];
DOUBLE a3;
};
I need to export it from this project to have access to it using C# or
other .NET based language. The problem is that the arrary a1 isn't
exported as a bidimensional array but as a unidimensional array, and i
cannot call any function that would accept the struct as a parameter.
Any idea how can i export the struct or to import it in .NET to see the
array as a multidimensional array?