A
apm
What is the best way to pass an array of double from C# to a win32 dll
written in C? The C code both reads and redefines elements of the array.
Execution speed is also of concern.
Is there anything better than:
double [] x = new double[5000];
fixed(double* X = x)
{
// call dll
unmanageddll(X);
}
written in C? The C code both reads and redefines elements of the array.
Execution speed is also of concern.
Is there anything better than:
double [] x = new double[5000];
fixed(double* X = x)
{
// call dll
unmanageddll(X);
}