引用第三方组件,出现上述问题解决方法:

 

 

可以试一下指定一个Call Convention:

        [DllImport("xvidcore.dll", CallingConvention=CallingConvention.Cdecl)]
        private extern static int xvid_global(IntPtr handle, int opt, IntPtr param1, IntPtr param2);

 

相关文章:

  • 2022-12-23
  • 2021-09-25
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
  • 2021-11-11
  • 2021-08-28
猜你喜欢
  • 2022-01-27
  • 2021-07-26
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
相关资源
相似解决方案