Skip to content
Winston Lee

Winston Lee

  • Home
  • Blog
  • Github
  • LinkedIn
Winston Lee
Winston Lee

export

C Sharp | C++ | Development

Why specifying the call type when performing P/Invoke is important

I was working on a C# project that required interaction between unmanaged and managed code. It’s nothing complex, just calling various functions in a DLL through a wrapper class, then I hit this exception: Strange thing is, this “stack unbalanced”…

Read More Why specifying the call type when performing P/Invoke is importantContinue

Scroll to top
  • Home
  • Blog
  • Github
  • LinkedIn