Originally posted here by draziw
(it's done that way, I've heard, because the Pascal calling convention is a bit faster and more compact than stdcall).
Oops... think that should be cdecl, not stdcall.