[c++] struct TInfo { double Rate; double Depth; unsigned char* Img; } extern "C" __declspec(dllexport) void SetInfo(TInfo _info); [c#] public struct TInfo { public double Rate; public double Depth; public byte[] Img; } [DllImport("CPPDLL.dll", CallingConvention = CallingConvention.Cdecl)] void SetInfo(TInfo _info);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)