更新时间: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)]
在回调委托声明。
访问冲突异常/崩溃从C ++回调到C#功能
从 C++ 回调到 C# 函数的访问冲突异常/崩溃
从C ++回调访问C#函数的访问冲突异常/崩溃.