<分区> 分区>
Possible Duplicate:
unsigned char ** equivalent in c# and have to write the return value in a file
我必须调用一个 win32 dll 函数
int func1(int arg1, unsigned char *arg2, int *arg3);
我写了 wrapped c# as
public extern int fuc1(int arg1, out IntPtr arg2, out IntPtr arg3);
arg2 必须分配 2048 字节并将其发送到 win32 dll。我将获得 arg2 和 arg3 作为输出。
我如何在 C# 测试应用程序和 C# 包装器中声明。我做对了吗?
