Recently, there was a question on our forum about how to declare the right prototype to call a function in an external (unmanaged) DLL. The solution to that problem was selecting a different convention.
In this article, we will explain what calling conventions are and what the effect is on your code when you switch from one calling convention to another.