看会不会是因为使用不同的函数调用约定千万的问题。试试看使用不同的CallingConvention方式看看,能不能解决问题。 [DllImport("***.dll", CallingConvention=CallingConvention.Cdecl)]