Passing arrays from a C++ dll to a C# exe. Anyone?

Feb 16 2004 5:40 AM
How can I pass an array from a C++ dll to a C# exe? Maybe even two-dimensional arrays? I tried passing a pointer as a dll function result and marshaling it as LPArray in C#, but obviously it didn't work. Or should I try something with classes? Thanks in advance...