A
apm
Is there a way to go from a pointer to an unmanaged array of double to a
managed Array of Double without having to copy the values? The unmanaged
code calls back into managed code. The unmanaged callback arguments include
arrays of double. The delegate used to define the callback function requires
managed arguments.
The caller wants
void __cdecl func(double* x)
It actually needs to call
_delegate void func(Double x[])
Thanks in advance.
Regards,
DTC
managed Array of Double without having to copy the values? The unmanaged
code calls back into managed code. The unmanaged callback arguments include
arrays of double. The delegate used to define the callback function requires
managed arguments.
The caller wants
void __cdecl func(double* x)
It actually needs to call
_delegate void func(Double x[])
Thanks in advance.
Regards,
DTC