<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div>> It might be better to mention the necessary compiler options (-Mobjfpc<br>> -Sh) or even better include them directly in the respective sources.<br>> <br>> In addition, compiling "uoslib.pas" results in "uoslib.dll", whereas you<br>> try to load uos.dll from libconsoleplay.pas.<br><br>Yep, sorry. But if you compile it from uoslib.lpi, it change uoslib.dll into uos.dll.<br>Also, compiling from uoslib.lpi include extrafpc.cfg, with required compiler options.<br><br><br>> It turns out that you missed to specify a matching calling convention for<br>> uos_loadlib (you specified "cdecl" in uoslib_h, but not in uoslib). It<br>> seems to work correctly after adding it at line 41 of uoslib.pas.<br><br>Houraaa, magnifique, marvellous, you find it.<br>Gigas of thanks, Tomas, you are my Hero.<br><br>Of course you get a big credit in the uoslib contributors.<br><br>Yep, it will be a good night for me...<br><br>Many, many thanks.<br><br>Fred.<br></div>                                    </div></body>
</html>