I have c++ unmanaged code that i want to access from c#. So i followed some tutorials and i build a dll for my project (only one class btw). Now i want to use it from c#, an
I think you should just pass Arrays of your types and then convert them to vector
's or List's in the relative functions.
What it could also be is the fact you referenced a static extern
INTcalibrate_to_file()
and in C++ it is VOIDcalibrate_to_file()
UPDATE:
And I think you are missing the DLLEXPORT
tags on your functions?