vc++ dll中有一个函数。
void fun(unsigned int nchannel,int nFGHandle,void* i);
现在我想在我的 c# 代码中调用这个 dll。我是这样使用的,
[DllImport ("AVC.dll")]
public static extern void fun(UInt32 a,int b,ref void c );
所以我想问
- 有没有必要编组?
- 如何在 C# 中将ref 用于void* i
vc++ dll中有一个函数。
void fun(unsigned int nchannel,int nFGHandle,void* i);
现在我想在我的 c# 代码中调用这个 dll。我是这样使用的,
[DllImport ("AVC.dll")]
public static extern void fun(UInt32 a,int b,ref void c );
所以我想问