<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Peter via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Mi., 19. Aug. 2020, 08:17:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Has anyone any ideas to fix it? It compiles if I change stdcall to CDecl, but I have no idea if that is a valid fix.<br>
(More info; see bug 37566)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Using the same ifdef as in the interface is the correct fix. The compiler now more strictly ensures that the directives of the implementation match the one in the interface (in this case cdecl (which is the default on non-Windows) vs. stdcall). This should probably be mentioned in the User Changes of 3.2.0...</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>