I have a function that returns a array of 6 doubles.
double* Validation();
I would like to cast this return value in managed code.
array<double>^ validationPosition = gcnew array<double>(6);
validationPosition = Validation();
I get this error:
error C2440: '=' : cannot convert from 'double *' to 'cli::array<Type> ^'
How should I do this?
Thanks.