N
Nanditha Chandra
Hi!
I am new to managed c++. I have a byte gc array and I want to pass it
to a function that takes a __gc* to unsigned char. How would I convert
my byte array to this?
Byte arBuf[] = __gc new Byte[nSize];
// I have code here to read from a file to this buffer.
// Now I need to pass this to a function which is defined as follows:
void Write(unsigned char __gc*);
How can I convert my byte array to unsigned char __gc*?
Thanks,
D
I am new to managed c++. I have a byte gc array and I want to pass it
to a function that takes a __gc* to unsigned char. How would I convert
my byte array to this?
Byte arBuf[] = __gc new Byte[nSize];
// I have code here to read from a file to this buffer.
// Now I need to pass this to a function which is defined as follows:
void Write(unsigned char __gc*);
How can I convert my byte array to unsigned char __gc*?
Thanks,
D