我在C++中有一个带有以下签名的dll.它在c ++中工作;
void Decompress(unsigned char *in,int in_len,unsigned char * out,
unsigned *o_len,int *e);
Run Code Online (Sandbox Code Playgroud)
参数说明
我怎样才能从c#中调用它?
什么是P/Invoke声明?
static extern void Decompress(
byte[] input,
int in_len,
byte[] output,
ref int o_len,
out int e);
Run Code Online (Sandbox Code Playgroud)