On 4/24/07, <b class="gmail_sendername">Peter Dolding</b> &lt;<a href="mailto:oiaohm@bluebottle.com">oiaohm@bluebottle.com</a>&gt; wrote:<br><br>&lt;snip&gt;<br><br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes but select partial platforms stdcall is default.&nbsp;&nbsp; It is up to the<br>platform to set is default calling method.&nbsp;&nbsp;For some strange reason<br>mingw and cygwin is choosing cdecl.&nbsp;&nbsp;I find it strange since MSVC was<br>different.
<br><br>Gcc is a uniform build environment.&nbsp;&nbsp;Not a uniform calling convention..<br><br>Peter Dolding<br></blockquote></div><br>stdcall is not the default on any version of MSVC I have ever seen, cdecl is; so mingw using cdecl by default mimicks the behavior of MSVC.&nbsp; BTW, the versions I&#39;m referring to are 6, 2003 (
7.1), and 2005 (8).&nbsp; The fact that Windows uses stdcall for most API functions does not mean that it is the default calling convention.<br><br>-ShadowFlare<br>