0
Reply

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

Ask a question
branimir.cace

branimir.cace

20y
2.1k
1
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...