且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

访问冲突异常/崩溃从C ++回调到C#功能

更新时间:2022-06-19 06:07:57

我想是因为不匹配调用约定的协议栈得到粉碎:
尝试把属性

I think the stack got crushed because of mismatching calling conventions: try out to put the attribute

 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]

在回调委托声明。