[Solved] Referencing an object array in C# PInvoke
I finally found the solution to my problems, and am posting this for anyone who would need some clarification: First, as David pointed out, simply treating the referenced argument as a pointer and assigning it the array’s address does not work. You have to copy the entire array contents into the referenced array. Easily fixed. … Read more