A
Ananas
Hi,
I'm using C# and C++ DLL. I need to send an array of unknown size at
compilation time to C++ native code. How to do this.
Example;
C#:
byte[] Image = ImageLoadFromFile(FileName); // as like the dynamic
image in the C++, for example, image loads from the file at the run
time.
C++:
void GetImage(unsigned char *Img, unsigned int size);
How to declare GetImage in C# for to recieve and read array in C++
correct?
Thanks in advise,
Eugene.
I'm using C# and C++ DLL. I need to send an array of unknown size at
compilation time to C++ native code. How to do this.
Example;
C#:
byte[] Image = ImageLoadFromFile(FileName); // as like the dynamic
image in the C++, for example, image loads from the file at the run
time.
C++:
void GetImage(unsigned char *Img, unsigned int size);
How to declare GetImage in C# for to recieve and read array in C++
correct?
Thanks in advise,
Eugene.