我在C ++中有一个带有以下签名的dll。它在c ++中工作;
void Decompress(unsigned char *in,int in_len,unsigned char * out,
unsigned *o_len,int *e);
参数说明
如何从c#中调用它?
什么是P / Invoke声明?
答案 0 :(得分:5)
static extern void Decompress(
byte[] input,
int in_len,
byte[] output,
ref int o_len,
out int e);