I guess you've probably found a workaround by now, but I'll reply in case someone else finds this thread.

__cdecl and __sdtcall refer to the function calling convention used by the compiler. The...