c# - How to call a function whose parameter is char ** from dll? -


a function in dll defined this:

int dlldir nvcp_ep_to_buf(int ep_id, unsigned char** o_buf); 

i want call function using dllimport, how declare function in c#, , how can call function? if call function in c++, allocate memory o_buf , call function, works.


Comments

Popular posts from this blog

amazon web services - S3 and apache mod_proxy with basic authentication -

How to install ruby on rails -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -