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

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -