p/invoke 在net4下出现错误应加上

[DllImport("xx.dll",  CallingConvention = CallingConvention.Cdecl)]
原文地址:https://www.cnblogs.com/fej121/p/2485103.html