The C++ function is exported in a DLL.
I have tried so far using DllImport in the C# code and it works fine but now i would like to be able to pass a WPF
DllImport