Arrays in DPI-C

In reply to boryah:

Are you actually include’ing the header file? If you are compiling C++ code, the function needs to be extern to C.

You might want to look at this page for converting between the different array references.