Is it possible passing List<byte[]> into C++ from C# -
i m quite new integration. core requirement follows,
1. bind byte[] list<byte[]> [0] -> byte[] --- blob value [1] -> byte[] --- blob value [2] -> byte[] --- blob value [3] -> byte[] --- blob value 2. build in c# [dllimport("cs_dll.dll", callingconvention = callingconvention.cdecl, charset = charset.ansi, entrypoint = "csmultipleverificationblob")] public static extern int csmultipleverificationblob(list<byte[]> reffilename, string verifyfilename, string datafolder,long relength); 3. in cpp header follows extern "c" {__declspec(dllexport)int csmultipleverificationblob(char* pszreferencefile[], char* verifyimagefilename, char datafoldername[], long reflength); }
note: pszreferencefile[] blob value db(one blob or many) created pszreferencefile byte[] , listed in c#
i need pass value const char* in cpp output.
actually stuck while passing variables between c++ , c#. there amy marshalling required? can guys me out
Comments
Post a Comment