A
Alex
Hi All!
I have a dll, which is written in VC++.NET.
In the dll, I write a method like that
void SetData(double* array, int len)
.....
then, I use this dll in a C#-Application, trying to pass
double[] myArray = new double[10];
MyObj.SetData(myArray, 10);
it posted an error: Can not convert from 'doublt[]' to 'ref double'.
Pls help me to solve this problem!
thanks!
I have a dll, which is written in VC++.NET.
In the dll, I write a method like that
void SetData(double* array, int len)
.....
then, I use this dll in a C#-Application, trying to pass
double[] myArray = new double[10];
MyObj.SetData(myArray, 10);
it posted an error: Can not convert from 'doublt[]' to 'ref double'.
Pls help me to solve this problem!
thanks!