PInvokeStackImbalance in OpenAL.cs

I have a test game (an openGL template) linked to & building the latest source.
Upon running the test game, a PInvokeStackImbalance error occurs in OpenAL.cs.

I’m not sure what the error means, but I’d like to understand.
I’m just building an openGL template project on win7.
Do I need to provide graphics card info? Thanks.

The problem is with calling convention mismatches. There’s a nice StackOverflow post if you’re interested

You can ignore this if you don’t care about solving this by opening exception settings and under Managed Debugging Assistants disable this exception.

Thank you for the knowledge, I understand now.

1 Like