<div class="gmail_quote">2009/12/9 Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hello<br>
<div class="im"></div></blockquote><div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">> Is my initial LLVM-IR correct for invoking WIN32 API function?<br>


</div>No. You forgot to put calling convention on the call itself.<br></blockquote><div><br>Thanks, this work great! <br><br>I naively though it would pick up the call convention from the declaration as there was no error like we have when the wrong number of parameters is used.<br>

 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">
--<br>
With best regards, Anton Korobeynikov<br>
</div>Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</blockquote></div><br>