A call to PInvoke function 'TestFunction!TestFunction.Program::xvid_global' has unbalanced the stack
Posted on 2011-04-26 11:24 Trible.H 阅读(995) 评论(0) 收藏 举报引用第三方组件,出现上述问题解决方法:
可以试一下指定一个Call Convention:
[DllImport("xvidcore.dll", CallingConvention=CallingConvention.Cdecl)]
private extern static int xvid_global(IntPtr handle, int opt, IntPtr param1, IntPtr param2);
浙公网安备 33010602011771号