B
Bob Altman
Hi all,
I'm writing C++/CLI code (compiled with /clr) that accepts a native char array
(and its length) and calls a managed routine that expects an array of
System::Byte. I was just wondering if there is any magic that I'm missing that
easily marshals the native array into a managed array, or do I need to write my
own code to allocate the managed array<> and loop through it copying the native
data into the managed array?
TIA - Bob
I'm writing C++/CLI code (compiled with /clr) that accepts a native char array
(and its length) and calls a managed routine that expects an array of
System::Byte. I was just wondering if there is any magic that I'm missing that
easily marshals the native array into a managed array, or do I need to write my
own code to allocate the managed array<> and loop through it copying the native
data into the managed array?
TIA - Bob