AngelCode.com > Developer resources

Calling conventions on the x86 platform

While developing AngelScript I quickly realized that different compilers implement the various calling conventions in different ways. It seems that the only time they agree is for calling conventions that existed before C++, anything added with C++ have absolutely no standard. Because of that I had to study the details on how each of the compilers I wanted to support implemented the different conventions. In this article I've only studied MSVC++ 6 and MingGW/GNUC g++. Hopefully I'll add more as time goes.

Read article

Also hosted on Programmer's Heaven.