Access Violation Exception/Crash from C++ callback to C# function

后端 未结 4 456
时光说笑
时光说笑 2021-01-12 21:22

So I have a native 3rd party C++ code base I am working with (.lib and .hpp files) that I used to build a wrapper in C++/CLI for eventual use in C#.

I\'ve run into

4条回答
  •  醉酒成梦
    2021-01-12 22:06

    I'm with @jdehaan, except CallingConvetion.StdCall could be the answer, especially when the 3rd party lib is written in BC++, for example.

提交回复
热议问题